clang API Documentation
#include <CGCleanup.h>
Public Member Functions | |
EHFilterScope (unsigned numFilters) | |
unsigned | getNumFilters () const |
void | setFilter (unsigned i, llvm::Value *filterValue) |
llvm::Value * | getFilter (unsigned i) const |
Static Public Member Functions | |
static size_t | getSizeForNumFilters (unsigned numFilters) |
static bool | classof (const EHScope *scope) |
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 400 of file CGCleanup.h.
clang::CodeGen::EHFilterScope::EHFilterScope | ( | unsigned | numFilters | ) | [inline] |
Definition at line 413 of file CGCleanup.h.
References clang::CodeGen::EHScope::FilterBits.
Referenced by getSizeForNumFilters().
static bool clang::CodeGen::EHFilterScope::classof | ( | const EHScope * | scope | ) | [inline, static] |
Definition at line 434 of file CGCleanup.h.
References clang::CodeGen::EHScope::Filter, and clang::CodeGen::EHScope::getKind().
llvm::Value* clang::CodeGen::EHFilterScope::getFilter | ( | unsigned | i | ) | const [inline] |
Definition at line 429 of file CGCleanup.h.
References getNumFilters().
Referenced by clang::CodeGen::CodeGenFunction::EmitLandingPad().
unsigned clang::CodeGen::EHFilterScope::getNumFilters | ( | ) | const [inline] |
Definition at line 422 of file CGCleanup.h.
References clang::CodeGen::EHScope::FilterBits.
Referenced by emitFilterDispatchBlock(), clang::CodeGen::CodeGenFunction::EmitLandingPad(), getFilter(), clang::CodeGen::EHScopeStack::popFilter(), and setFilter().
static size_t clang::CodeGen::EHFilterScope::getSizeForNumFilters | ( | unsigned | numFilters | ) | [inline, static] |
Definition at line 418 of file CGCleanup.h.
References EHFilterScope().
Referenced by clang::CodeGen::EHScopeStack::iterator::operator++(), clang::CodeGen::EHScopeStack::popFilter(), and clang::CodeGen::EHScopeStack::pushFilter().
void clang::CodeGen::EHFilterScope::setFilter | ( | unsigned | i, |
llvm::Value * | filterValue | ||
) | [inline] |
Definition at line 424 of file CGCleanup.h.
References getNumFilters().
Referenced by clang::CodeGen::CodeGenFunction::EmitStartEHSpec().