clang 24.0.0git
CallLifetimeEnd Struct Referencefinal
Inheritance diagram for CallLifetimeEnd:
[legend]

Public Member Functions

 CallLifetimeEnd (mlir::Value addr)
void emit (CIRGenFunction &cgf, Flags flags) override
 Emit the cleanup.
Public Member Functions inherited from clang::CIRGen::EHScopeStack::Cleanup
 Cleanup (const Cleanup &)=default
 Cleanup (Cleanup &&)
 Cleanup ()=default
virtual ~Cleanup ()=default

Public Attributes

mlir::Value addr

Detailed Description

Definition at line 33 of file CIRGenDecl.cpp.

Constructor & Destructor Documentation

◆ CallLifetimeEnd()

CallLifetimeEnd::CallLifetimeEnd ( mlir::Value addr)
inline

Definition at line 38 of file CIRGenDecl.cpp.

References addr.

Member Function Documentation

◆ emit()

void CallLifetimeEnd::emit ( CIRGenFunction & 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::CIRGen::EHScopeStack::Cleanup.

Definition at line 39 of file CIRGenDecl.cpp.

References addr, and clang::CIRGen::CIRGenFunction::emitLifetimeEndOp().

Member Data Documentation

◆ addr

mlir::Value CallLifetimeEnd::addr

Definition at line 37 of file CIRGenDecl.cpp.

Referenced by CallLifetimeEnd(), and emit().


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