clang 20.0.0git
|
An exceptions scope which filters exceptions thrown through it. More...
#include "/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/CodeGen/CGCleanup.h"
Public Member Functions | |
EHFilterScope (unsigned numFilters) | |
unsigned | getNumFilters () const |
void | setFilter (unsigned i, llvm::Value *filterValue) |
llvm::Value * | getFilter (unsigned i) const |
Public Member Functions inherited from clang::CodeGen::EHScope | |
EHScope (Kind kind, EHScopeStack::stable_iterator enclosingEHScope) | |
Kind | getKind () const |
llvm::BasicBlock * | getCachedLandingPad () const |
void | setCachedLandingPad (llvm::BasicBlock *block) |
llvm::BasicBlock * | getCachedEHDispatchBlock () const |
void | setCachedEHDispatchBlock (llvm::BasicBlock *block) |
bool | hasEHBranches () const |
EHScopeStack::stable_iterator | getEnclosingEHScope () const |
Static Public Member Functions | |
static size_t | getSizeForNumFilters (unsigned numFilters) |
static bool | classof (const EHScope *scope) |
Additional Inherited Members | |
Public Types inherited from clang::CodeGen::EHScope | |
enum | Kind { Cleanup , Catch , Terminate , Filter } |
Protected Attributes inherited from clang::CodeGen::EHScope | |
union { | |
CommonBitFields CommonBits | |
CatchBitFields CatchBits | |
CleanupBitFields CleanupBits | |
FilterBitFields FilterBits | |
}; | |
An exceptions scope which filters exceptions thrown through it.
Only exceptions matching the filter types will be permitted to be thrown.
This is used to implement C++ exception specifications.
Definition at line 501 of file CGCleanup.h.
|
inline |
Definition at line 514 of file CGCleanup.h.
References clang::CodeGen::EHScope::FilterBits.
Definition at line 536 of file CGCleanup.h.
References clang::CodeGen::EHScope::Filter, and clang::CodeGen::EHScope::getKind().
|
inline |
Definition at line 531 of file CGCleanup.h.
References getNumFilters().
|
inline |
Definition at line 524 of file CGCleanup.h.
References clang::CodeGen::EHScope::FilterBits.
Referenced by emitFilterDispatchBlock(), getFilter(), clang::CodeGen::EHScopeStack::popFilter(), and setFilter().
|
inlinestatic |
Definition at line 520 of file CGCleanup.h.
Referenced by clang::CodeGen::EHScopeStack::iterator::operator++(), clang::CodeGen::EHScopeStack::popFilter(), and clang::CodeGen::EHScopeStack::pushFilter().
|
inline |
Definition at line 526 of file CGCleanup.h.
References getNumFilters().