clang API Documentation
#include <StmtCXX.h>
Public Member Functions | |
CXXCatchStmt (SourceLocation catchLoc, VarDecl *exDecl, Stmt *handlerBlock) | |
CXXCatchStmt (EmptyShell Empty) | |
SourceLocation | getLocStart () const LLVM_READONLY |
SourceLocation | getLocEnd () const LLVM_READONLY |
SourceLocation | getCatchLoc () const |
VarDecl * | getExceptionDecl () const |
QualType | getCaughtType () const |
Stmt * | getHandlerBlock () const |
child_range | children () |
Static Public Member Functions | |
static bool | classof (const Stmt *T) |
Friends | |
class | ASTStmtReader |
CXXCatchStmt - This represents a C++ catch block.
clang::CXXCatchStmt::CXXCatchStmt | ( | SourceLocation | catchLoc, |
VarDecl * | exDecl, | ||
Stmt * | handlerBlock | ||
) | [inline] |
clang::CXXCatchStmt::CXXCatchStmt | ( | EmptyShell | Empty | ) | [inline] |
child_range clang::CXXCatchStmt::children | ( | ) | [inline] |
Reimplemented from clang::Stmt.
static bool clang::CXXCatchStmt::classof | ( | const Stmt * | T | ) | [inline, static] |
Definition at line 54 of file StmtCXX.h.
References clang::Stmt::getStmtClass().
SourceLocation clang::CXXCatchStmt::getCatchLoc | ( | ) | const [inline] |
QualType CXXCatchStmt::getCaughtType | ( | ) | const |
Definition at line 672 of file Stmt.cpp.
Referenced by clang::Sema::ActOnCXXTryBlock(), and clang::CodeGen::CodeGenFunction::EnterCXXTryStmt().
VarDecl* clang::CXXCatchStmt::getExceptionDecl | ( | ) | const [inline] |
Definition at line 50 of file StmtCXX.h.
Referenced by clang::Sema::ActOnCXXTryBlock(), BeginCatch(), clang::CodeGen::CodeGenFunction::EnterCXXTryStmt(), print_block(), and clang::ento::ExprEngine::VisitCXXCatchStmt().
Stmt* clang::CXXCatchStmt::getHandlerBlock | ( | ) | const [inline] |
Definition at line 52 of file StmtCXX.h.
Referenced by clang::CodeGen::CodeGenFunction::ExitCXXTryStmt().
SourceLocation clang::CXXCatchStmt::getLocEnd | ( | ) | const [inline] |
Reimplemented from clang::Stmt.
Definition at line 45 of file StmtCXX.h.
References clang::Stmt::getLocEnd().
SourceLocation clang::CXXCatchStmt::getLocStart | ( | ) | const [inline] |
Reimplemented from clang::Stmt.
Definition at line 44 of file StmtCXX.h.
Referenced by clang::Sema::ActOnCXXTryBlock(), and BeginCatch().
friend class ASTStmtReader [friend] |
Reimplemented from clang::Stmt.