enum CleanupKind
Declared at: clang/lib/CodeGen/EHScopeStack.h:77
Enumerators
| Name | Value | Comment |
|---|---|---|
| EHCleanup | 1 | Denotes a cleanup that should run when a scope is exited using exceptional control flow (a throw statement leading to stack unwinding, ). |
| NormalCleanup | 2 | Denotes a cleanup that should run when a scope is exited using normal control flow (falling off the end of the scope, return, goto, ...). |
| NormalAndEHCleanup | 3 | Denotes a cleanup that should run when a scope is exited using normal control flow (falling off the end of the scope, return, goto, ...). |
| LifetimeMarker | 8 | Denotes a cleanup that should run when a scope is exited using normal control flow (falling off the end of the scope, return, goto, ...). |
| NormalEHLifetimeMarker | 11 | Denotes a cleanup that should run when a scope is exited using normal control flow (falling off the end of the scope, return, goto, ...). |