|
clang 23.0.0git
|
Scope that deactivates all enclosed deferred cleanups on exit. More...
#include "/work/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/CIR/CodeGen/CIRGenFunction.h"
Public Member Functions | |
| CleanupDeactivationScope (CIRGenFunction &cgf) | |
| void | forceDeactivate () |
| ~CleanupDeactivationScope () | |
Public Attributes | |
| CIRGenFunction & | cgf |
| size_t | oldDeactivateCleanupStackSize |
| bool | deactivated = false |
Scope that deactivates all enclosed deferred cleanups on exit.
Mirrors CodeGenFunction::CleanupDeactivationScope in classic codegen.
Definition at line 130 of file CIRGenFunction.h.
|
inline |
Definition at line 135 of file CIRGenFunction.h.
References cgf, clang::CIRGen::CIRGenFunction::CIRGenFunction(), clang::CIRGen::CIRGenFunction::deferredDeactivationCleanupStack, and oldDeactivateCleanupStackSize.
|
inline |
Definition at line 151 of file CIRGenFunction.h.
References deactivated, and forceDeactivate().
|
inline |
Definition at line 139 of file CIRGenFunction.h.
References cgf, cleanup(), deactivated, and oldDeactivateCleanupStackSize.
Referenced by ~CleanupDeactivationScope().
| CIRGenFunction& clang::CIRGen::CIRGenFunction::CleanupDeactivationScope::cgf |
Definition at line 131 of file CIRGenFunction.h.
Referenced by CleanupDeactivationScope(), and forceDeactivate().
Definition at line 133 of file CIRGenFunction.h.
Referenced by forceDeactivate(), and ~CleanupDeactivationScope().
| size_t clang::CIRGen::CIRGenFunction::CleanupDeactivationScope::oldDeactivateCleanupStackSize |
Definition at line 132 of file CIRGenFunction.h.
Referenced by CleanupDeactivationScope(), and forceDeactivate().