|
clang 22.0.0git
|
A scope which attempts to handle some, possibly all, types of exceptions. More...
#include "/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/CIR/CodeGen/CIRGenCleanup.h"
Classes | |
| struct | Handler |
Public Member Functions | |
| EHCatchScope (unsigned numHandlers) | |
| unsigned | getNumHandlers () const |
| void | setHandler (unsigned i, CatchTypeInfo type, mlir::Region *region) |
| void | clearHandlerBlocks () |
| Public Member Functions inherited from clang::CIRGen::EHScope | |
| EHScope (Kind kind) | |
| Kind | getKind () const |
| bool | mayThrow () const |
Static Public Member Functions | |
| static size_t | getSizeForNumHandlers (unsigned n) |
| static bool | classof (const EHScope *scope) |
Friends | |
| class | EHScopeStack |
Additional Inherited Members | |
| Public Types inherited from clang::CIRGen::EHScope | |
| enum | Kind { Cleanup , Catch , Terminate , Filter } |
| Protected Attributes inherited from clang::CIRGen::EHScope | |
| union { | |
| CommonBitFields commonBits | |
| CatchBitFields catchBits | |
| CleanupBitFields cleanupBits | |
| }; | |
A scope which attempts to handle some, possibly all, types of exceptions.
Objective C @finally blocks are represented using a cleanup scope after the catch scope.
Definition at line 100 of file CIRGenCleanup.h.
|
inline |
Definition at line 125 of file CIRGenCleanup.h.
References clang::CIRGen::EHScope::Catch, clang::CIRGen::EHScope::catchBits, and clang::CIRGen::EHScope::EHScope().
Referenced by getSizeForNumHandlers().
Definition at line 146 of file CIRGenCleanup.h.
References clang::CIRGen::EHScope::Catch, clang::CIRGen::EHScope::EHScope(), and clang::CIRGen::EHScope::getKind().
|
inline |
Definition at line 142 of file CIRGenCleanup.h.
Referenced by clang::CIRGen::CIRGenFunction::exitCXXTryStmt().
|
inline |
Definition at line 130 of file CIRGenCleanup.h.
References clang::CIRGen::EHScope::catchBits.
Referenced by clang::CIRGen::CIRGenFunction::exitCXXTryStmt(), clang::CIRGen::EHScopeStack::popCatch(), and setHandler().
Definition at line 121 of file CIRGenCleanup.h.
References EHCatchScope().
Referenced by clang::CIRGen::EHScopeStack::popCatch().
|
inline |
Definition at line 132 of file CIRGenCleanup.h.
References getNumHandlers(), and clang::ast_matchers::type.
Referenced by clang::CIRGen::CIRGenFunction::enterCXXTryStmt().
|
friend |
Definition at line 116 of file CIRGenCleanup.h.
References EHScopeStack.
Referenced by EHScopeStack.