clang 23.0.0git
clang::CIRGen::CIRGenFunction::DeferredDeactivateCleanup Struct Reference

A cleanup that was pushed to the EH stack but whose deactivation is deferred until the enclosing CleanupDeactivationScope exits. More...

#include "/work/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/CIR/CodeGen/CIRGenFunction.h"

Public Attributes

EHScopeStack::stable_iterator cleanup
mlir::Operation * dominatingIP

Detailed Description

A cleanup that was pushed to the EH stack but whose deactivation is deferred until the enclosing CleanupDeactivationScope exits.

Used to protect partially-constructed aggregates (e.g. lambda captures) so that already-initialized sub-objects are destroyed if a later initializer throws, while avoiding double-destruction after full construction.

Definition at line 122 of file CIRGenFunction.h.

Member Data Documentation

◆ cleanup

EHScopeStack::stable_iterator clang::CIRGen::CIRGenFunction::DeferredDeactivateCleanup::cleanup

Definition at line 123 of file CIRGenFunction.h.

◆ dominatingIP

mlir::Operation* clang::CIRGen::CIRGenFunction::DeferredDeactivateCleanup::dominatingIP

Definition at line 124 of file CIRGenFunction.h.


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