clang: clang::CodeGen::EHFilterScope Class Reference (original) (raw)
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](CGCleanup%5F8h%5Fsource.html)"
Inheritance diagram for clang::CodeGen::EHFilterScope:
Public Member Functions | |
---|---|
EHFilterScope (unsigned numFilters) | |
unsigned | getNumFilters () const |
void | setFilter (unsigned i, llvm::Value *filterValue) |
llvm::Value * | getFilter (unsigned i) const |
![]() |
|
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 |
Additional Inherited Members | |
---|---|
![]() |
|
enum | Kind { Cleanup, Catch, Terminate, Filter } |
![]() |
|
union { | |
CommonBitFields CommonBits | |
CatchBitFields CatchBits | |
CleanupBitFields CleanupBits | |
FilterBitFields FilterBits | |
}; | |
Detailed Description
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.
Constructor & Destructor Documentation
clang::CodeGen::EHFilterScope::EHFilterScope ( unsigned numFilters) | inline |
---|
Member Function Documentation
◆ classof()
static bool clang::CodeGen::EHFilterScope::classof ( const EHScope * scope) | inlinestatic |
---|
◆ getFilter()
llvm::Value * clang::CodeGen::EHFilterScope::getFilter ( unsigned i) const | inline |
---|
◆ getNumFilters()
unsigned clang::CodeGen::EHFilterScope::getNumFilters ( ) const | inline |
---|
◆ getSizeForNumFilters()
static size_t clang::CodeGen::EHFilterScope::getSizeForNumFilters ( unsigned numFilters) | inlinestatic |
---|
◆ setFilter()
void clang::CodeGen::EHFilterScope::setFilter ( unsigned i, llvm::Value * filterValue ) | inline |
---|
The documentation for this class was generated from the following file:
- lib/CodeGen/CGCleanup.h