clang 17.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
Collaboration diagram for clang::CodeGen::CodeGenFunction::OMPBuilderCBHelpers::OMPAllocateCleanupTy:
Collaboration graph

Public Member Functions

 OMPAllocateCleanupTy (llvm::CallInst *RLFnCI)
void Emit (CodeGenFunction &CGF, Flags) override
 Emit the cleanup.
- Public Member Functions inherited from clang::CodeGen::EHScopeStack::Cleanup
 Cleanup (const Cleanup &)=default
 Cleanup (Cleanup &&)
 Cleanup ()=default
virtual bool isRedundantBeforeReturn ()
virtual void Emit (CodeGenFunction &CGF, Flags flags)=0
 Emit the cleanup.

Additional Inherited Members

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

Detailed Description

Cleanup action for allocate support.

Definition at line 1739 of file CodeGenFunction.h.

Constructor & Destructor Documentation

◆ OMPAllocateCleanupTy()

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

Definition at line 1745 of file CodeGenFunction.h.

Member Function Documentation

◆ Emit()

void clang::CodeGen::CodeGenFunction::OMPBuilderCBHelpers::OMPAllocateCleanupTy::Emit ( CodeGenFunction CGF,
Flags  flags 

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 1749 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: