clang
3.9.0
|
CXXTryStmt - A C++ try block, including all handlers. More...
#include <StmtCXX.h>
Public Member Functions | |
SourceLocation | getLocStart () const LLVM_READONLY |
SourceLocation | getLocEnd () const LLVM_READONLY |
SourceLocation | getTryLoc () const |
SourceLocation | getEndLoc () const |
CompoundStmt * | getTryBlock () |
const CompoundStmt * | getTryBlock () const |
unsigned | getNumHandlers () const |
CXXCatchStmt * | getHandler (unsigned i) |
const CXXCatchStmt * | getHandler (unsigned i) const |
child_range | children () |
Static Public Member Functions | |
static CXXTryStmt * | Create (const ASTContext &C, SourceLocation tryLoc, Stmt *tryBlock, ArrayRef< Stmt * > handlers) |
static CXXTryStmt * | Create (const ASTContext &C, EmptyShell Empty, unsigned numHandlers) |
static bool | classof (const Stmt *T) |
Friends | |
class | ASTStmtReader |
CXXTryStmt - A C++ try block, including all handlers.
|
inline |
Definition at line 115 of file StmtCXX.h.
References getNumHandlers().
|
static |
Definition at line 26 of file StmtCXX.cpp.
References clang::ASTContext::Allocate().
Referenced by clang::Sema::ActOnCXXTryBlock(), and clang::ASTNodeImporter::VisitCXXTryStmt().
|
static |
Definition at line 35 of file StmtCXX.cpp.
References clang::ASTContext::Allocate().
|
inline |
Definition at line 92 of file StmtCXX.h.
Referenced by getLocEnd().
|
inline |
Definition at line 104 of file StmtCXX.h.
Referenced by clang::Sema::DiagnoseReturnInConstructorExceptionHandler(), clang::CodeGen::CodeGenFunction::EnterCXXTryStmt(), clang::CodeGen::CodeGenFunction::ExitCXXTryStmt(), and clang::ASTNodeImporter::VisitCXXTryStmt().
|
inline |
|
inline |
Definition at line 89 of file StmtCXX.h.
References getEndLoc().
|
inline |
Definition at line 88 of file StmtCXX.h.
References getTryLoc().
|
inline |
Definition at line 103 of file StmtCXX.h.
Referenced by children(), clang::Sema::DiagnoseReturnInConstructorExceptionHandler(), clang::CodeGen::CodeGenFunction::EnterCXXTryStmt(), clang::CodeGen::CodeGenFunction::ExitCXXTryStmt(), and clang::ASTNodeImporter::VisitCXXTryStmt().
|
inline |
Definition at line 96 of file StmtCXX.h.
Referenced by clang::CodeGen::CodeGenFunction::EmitCXXTryStmt(), and clang::ASTNodeImporter::VisitCXXTryStmt().
|
inline |
|
inline |
Definition at line 91 of file StmtCXX.h.
Referenced by getLocStart(), and clang::ASTNodeImporter::VisitCXXTryStmt().
|
friend |