clang API Documentation
#include <Stmt.h>


Public Member Functions | |
| SourceLocation | getLocStart () const LLVM_READONLY |
| SourceLocation | getLocEnd () const LLVM_READONLY |
| SourceLocation | getTryLoc () const |
| SourceLocation | getEndLoc () const |
| bool | getIsCXXTry () const |
| CompoundStmt * | getTryBlock () const |
| Stmt * | getHandler () const |
| SEHExceptStmt * | getExceptHandler () const |
| Returns 0 if not defined. | |
| SEHFinallyStmt * | getFinallyHandler () const |
| child_range | children () |
Static Public Member Functions | |
| static SEHTryStmt * | Create (const ASTContext &C, bool isCXXTry, SourceLocation TryLoc, Stmt *TryBlock, Stmt *Handler) |
| static bool | classof (const Stmt *T) |
Friends | |
| class | ASTReader |
| class | ASTStmtReader |
| child_range clang::SEHTryStmt::children | ( | ) | [inline] |
Reimplemented from clang::Stmt.
| static bool clang::SEHTryStmt::classof | ( | const Stmt * | T | ) | [inline, static] |
Definition at line 1944 of file Stmt.h.
References clang::Stmt::getStmtClass().
| SEHTryStmt * SEHTryStmt::Create | ( | const ASTContext & | C, |
| bool | isCXXTry, | ||
| SourceLocation | TryLoc, | ||
| Stmt * | TryBlock, | ||
| Stmt * | Handler | ||
| ) | [static] |
Definition at line 1025 of file Stmt.cpp.
References AttributeLangSupport::C.
Referenced by clang::Sema::ActOnSEHTryBlock().
| SourceLocation clang::SEHTryStmt::getEndLoc | ( | ) | const [inline] |
Definition at line 1926 of file Stmt.h.
References clang::Stmt::getLocEnd().
Referenced by getLocEnd().
| SEHExceptStmt * SEHTryStmt::getExceptHandler | ( | ) | const |
| SEHFinallyStmt * SEHTryStmt::getFinallyHandler | ( | ) | const |
Definition at line 1035 of file Stmt.cpp.
References getHandler().
| Stmt* clang::SEHTryStmt::getHandler | ( | ) | const [inline] |
Definition at line 1934 of file Stmt.h.
Referenced by getExceptHandler(), and getFinallyHandler().
| bool clang::SEHTryStmt::getIsCXXTry | ( | ) | const [inline] |
| SourceLocation clang::SEHTryStmt::getLocEnd | ( | ) | const [inline] |
| SourceLocation clang::SEHTryStmt::getLocStart | ( | ) | const [inline] |
| CompoundStmt* clang::SEHTryStmt::getTryBlock | ( | ) | const [inline] |
| SourceLocation clang::SEHTryStmt::getTryLoc | ( | ) | const [inline] |
Definition at line 1925 of file Stmt.h.
Referenced by getLocStart().
friend class ASTStmtReader [friend] |
Reimplemented from clang::Stmt.