clang  14.0.0git
Public Member Functions | List of all members
clang::CodeGen::CodeGenFunction::OMPBuilderCBHelpers::OMPAllocateCleanupTy Class Referencefinal

Cleanup action for allocate support. More...

#include "/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/CodeGen/CodeGenFunction.h"

Inheritance diagram for clang::CodeGen::CodeGenFunction::OMPBuilderCBHelpers::OMPAllocateCleanupTy:
Inheritance graph
[legend]
Collaboration diagram for clang::CodeGen::CodeGenFunction::OMPBuilderCBHelpers::OMPAllocateCleanupTy:
Collaboration graph
[legend]

Public Member Functions

 OMPAllocateCleanupTy (llvm::CallInst *RLFnCI)
 
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
 
virtual bool isRedundantBeforeReturn ()
 

Additional Inherited Members

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

Detailed Description

Cleanup action for allocate support.

Definition at line 1702 of file CodeGenFunction.h.

Constructor & Destructor Documentation

◆ OMPAllocateCleanupTy()

clang::CodeGen::CodeGenFunction::OMPBuilderCBHelpers::OMPAllocateCleanupTy::OMPAllocateCleanupTy ( llvm::CallInst *  RLFnCI)
inline

Definition at line 1708 of file CodeGenFunction.h.

Member Function Documentation

◆ Emit()

void clang::CodeGen::CodeGenFunction::OMPBuilderCBHelpers::OMPAllocateCleanupTy::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 1712 of file CodeGenFunction.h.

References clang::CodeGen::CodeGenFunction::Builder, and clang::CodeGen::CodeGenFunction::HaveInsertPoint().


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