clang  6.0.0svn
Public Member Functions | List of all members
CleanupTy Class Referencefinal

A basic class for pre|post-action for advanced codegen sequence for OpenMP region. More...

Inheritance diagram for CleanupTy:
Inheritance graph
[legend]
Collaboration diagram for CleanupTy:
Collaboration graph
[legend]

Public Member Functions

 CleanupTy (PrePostActionTy *Action)
 
void Emit (CodeGenFunction &CGF, Flags) override
 Emit the cleanup. More...
 
- Public Member Functions inherited from clang::CodeGen::EHScopeStack::Cleanup
 Cleanup (const Cleanup &)=default
 
 Cleanup (Cleanup &&)
 
 Cleanup ()=default
 

Additional Inherited Members

- Protected Member Functions inherited from clang::CodeGen::EHScopeStack::Cleanup
 ~Cleanup ()=default
 

Detailed Description

A basic class for pre|post-action for advanced codegen sequence for OpenMP region.

Definition at line 696 of file CGOpenMPRuntime.cpp.

Constructor & Destructor Documentation

◆ CleanupTy()

CleanupTy::CleanupTy ( PrePostActionTy Action)
inlineexplicit

Definition at line 700 of file CGOpenMPRuntime.cpp.

Member Function Documentation

◆ Emit()

void CleanupTy::Emit ( CodeGenFunction CGF,
Flags  flags 
)
inlineoverridevirtual

Emit the cleanup.

For normal cleanups, this is run in the same EH context as when the cleanup was pushed, i.e. the immediately-enclosing context of the cleanup scope. For EH cleanups, this is run in a terminate context.

Implements clang::CodeGen::EHScopeStack::Cleanup.

Definition at line 701 of file CGOpenMPRuntime.cpp.

References clang::CodeGen::CodeGenFunction::HaveInsertPoint().


The documentation for this class was generated from the following file: