|
clang 23.0.0git
|
An entry in the lifetime-extended cleanup stack. More...
#include "/work/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/CIR/CodeGen/CIRGenFunction.h"
Public Attributes | |
| CleanupKind | kind |
| Address | addr |
| QualType | type |
| Destroyer * | destroyer |
An entry in the lifetime-extended cleanup stack.
Each entry represents a cleanup that was deferred past a full-expression boundary (e.g., destroying a temporary bound to a local reference). When the enclosing scope exits, these entries are promoted to the EH scope stack.
Currently only DestroyObject cleanups are lifetime-extended. When other cleanup types are needed (e.g., CallLifetimeEnd), this struct can be extended with a std::variant of cleanup data types.
Definition at line 105 of file CIRGenFunction.h.
| Address clang::CIRGen::CIRGenFunction::LifetimeExtendedCleanupEntry::addr |
Definition at line 107 of file CIRGenFunction.h.
Referenced by clang::CIRGen::CIRGenFunction::pushLifetimeExtendedCleanupToEHStack().
| Destroyer* clang::CIRGen::CIRGenFunction::LifetimeExtendedCleanupEntry::destroyer |
Definition at line 109 of file CIRGenFunction.h.
Referenced by clang::CIRGen::CIRGenFunction::pushLifetimeExtendedCleanupToEHStack().
| CleanupKind clang::CIRGen::CIRGenFunction::LifetimeExtendedCleanupEntry::kind |
Definition at line 106 of file CIRGenFunction.h.
Referenced by clang::CIRGen::CIRGenFunction::pushLifetimeExtendedCleanupToEHStack().
| QualType clang::CIRGen::CIRGenFunction::LifetimeExtendedCleanupEntry::type |
Definition at line 108 of file CIRGenFunction.h.
Referenced by clang::CIRGen::CIRGenFunction::pushLifetimeExtendedCleanupToEHStack().