clang 20.0.0git
Public Member Functions | List of all members
clang::CodeGen::CodeGenFunction::CallLifetimeEnd Class Referencefinal

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

Inheritance diagram for clang::CodeGen::CodeGenFunction::CallLifetimeEnd:
Inheritance graph
[legend]

Public Member Functions

 CallLifetimeEnd (RawAddress addr, llvm::Value *size)
 
void Emit (CodeGenFunction &CGF, Flags flags) override
 Emit the cleanup.
 
- Public Member Functions inherited from clang::CodeGen::EHScopeStack::Cleanup
 Cleanup (const Cleanup &)=default
 
 Cleanup (Cleanup &&)
 
Cleanupoperator= (const Cleanup &)=delete
 
Cleanupoperator= (Cleanup &&)=delete
 
 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

Definition at line 706 of file CodeGenFunction.h.

Constructor & Destructor Documentation

◆ CallLifetimeEnd()

clang::CodeGen::CodeGenFunction::CallLifetimeEnd::CallLifetimeEnd ( RawAddress  addr,
llvm::Value *  size 
)
inline

Definition at line 713 of file CodeGenFunction.h.

Member Function Documentation

◆ Emit()

void clang::CodeGen::CodeGenFunction::CallLifetimeEnd::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 716 of file CodeGenFunction.h.

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


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