clang API Documentation

Public Member Functions | Static Public Member Functions
clang::CodeGen::EHFilterScope Class Reference

#include <CGCleanup.h>

Inheritance diagram for clang::CodeGen::EHFilterScope:
Inheritance graph
[legend]
Collaboration diagram for clang::CodeGen::EHFilterScope:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 EHFilterScope (unsigned numFilters)
unsigned getNumFilters () const
void setFilter (unsigned i, llvm::Value *filterValue)
llvm::ValuegetFilter (unsigned i) const

Static Public Member Functions

static size_t getSizeForNumFilters (unsigned numFilters)
static bool classof (const EHScope *scope)

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 400 of file CGCleanup.h.


Constructor & Destructor Documentation

Definition at line 413 of file CGCleanup.h.

References clang::CodeGen::EHScope::FilterBits.

Referenced by getSizeForNumFilters().


Member Function Documentation

static bool clang::CodeGen::EHFilterScope::classof ( const EHScope scope) [inline, static]

Definition at line 429 of file CGCleanup.h.

References getNumFilters().

Referenced by clang::CodeGen::CodeGenFunction::EmitLandingPad().

static size_t clang::CodeGen::EHFilterScope::getSizeForNumFilters ( unsigned  numFilters) [inline, static]
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().


The documentation for this class was generated from the following file: