clang API Documentation
Represents Objective-C's @catch statement. More...
#include <StmtObjC.h>
Public Member Functions | |
ObjCAtCatchStmt (SourceLocation atCatchLoc, SourceLocation rparenloc, VarDecl *catchVarDecl, Stmt *atCatchStmt) | |
ObjCAtCatchStmt (EmptyShell Empty) | |
const Stmt * | getCatchBody () const |
Stmt * | getCatchBody () |
void | setCatchBody (Stmt *S) |
const VarDecl * | getCatchParamDecl () const |
VarDecl * | getCatchParamDecl () |
void | setCatchParamDecl (VarDecl *D) |
SourceLocation | getAtCatchLoc () const |
void | setAtCatchLoc (SourceLocation Loc) |
SourceLocation | getRParenLoc () const |
void | setRParenLoc (SourceLocation Loc) |
SourceLocation | getLocStart () const LLVM_READONLY |
SourceLocation | getLocEnd () const LLVM_READONLY |
bool | hasEllipsis () const |
child_range | children () |
Static Public Member Functions | |
static bool | classof (const Stmt *T) |
Represents Objective-C's @catch statement.
Definition at line 74 of file StmtObjC.h.
clang::ObjCAtCatchStmt::ObjCAtCatchStmt | ( | SourceLocation | atCatchLoc, |
SourceLocation | rparenloc, | ||
VarDecl * | catchVarDecl, | ||
Stmt * | atCatchStmt | ||
) | [inline] |
Definition at line 81 of file StmtObjC.h.
clang::ObjCAtCatchStmt::ObjCAtCatchStmt | ( | EmptyShell | Empty | ) | [inline, explicit] |
Definition at line 87 of file StmtObjC.h.
child_range clang::ObjCAtCatchStmt::children | ( | ) | [inline] |
Reimplemented from clang::Stmt.
Definition at line 116 of file StmtObjC.h.
static bool clang::ObjCAtCatchStmt::classof | ( | const Stmt * | T | ) | [inline, static] |
Definition at line 112 of file StmtObjC.h.
References clang::Stmt::getStmtClass().
SourceLocation clang::ObjCAtCatchStmt::getAtCatchLoc | ( | ) | const [inline] |
Definition at line 102 of file StmtObjC.h.
const Stmt* clang::ObjCAtCatchStmt::getCatchBody | ( | ) | const [inline] |
Definition at line 90 of file StmtObjC.h.
Referenced by clang::CodeGen::CGObjCRuntime::EmitTryCatchStmt().
Stmt* clang::ObjCAtCatchStmt::getCatchBody | ( | ) | [inline] |
Definition at line 91 of file StmtObjC.h.
const VarDecl* clang::ObjCAtCatchStmt::getCatchParamDecl | ( | ) | const [inline] |
Definition at line 94 of file StmtObjC.h.
Referenced by clang::CodeGen::CGObjCRuntime::EmitTryCatchStmt(), and hasEllipsis().
VarDecl* clang::ObjCAtCatchStmt::getCatchParamDecl | ( | ) | [inline] |
Definition at line 97 of file StmtObjC.h.
SourceLocation clang::ObjCAtCatchStmt::getLocEnd | ( | ) | const [inline] |
Reimplemented from clang::Stmt.
Definition at line 108 of file StmtObjC.h.
References clang::Stmt::getLocEnd().
Referenced by clang::ObjCAtTryStmt::getLocEnd().
SourceLocation clang::ObjCAtCatchStmt::getLocStart | ( | ) | const [inline] |
Reimplemented from clang::Stmt.
Definition at line 107 of file StmtObjC.h.
SourceLocation clang::ObjCAtCatchStmt::getRParenLoc | ( | ) | const [inline] |
Definition at line 104 of file StmtObjC.h.
bool clang::ObjCAtCatchStmt::hasEllipsis | ( | ) | const [inline] |
Definition at line 110 of file StmtObjC.h.
References getCatchParamDecl().
void clang::ObjCAtCatchStmt::setAtCatchLoc | ( | SourceLocation | Loc | ) | [inline] |
Definition at line 103 of file StmtObjC.h.
void clang::ObjCAtCatchStmt::setCatchBody | ( | Stmt * | S | ) | [inline] |
Definition at line 92 of file StmtObjC.h.
References S.
void clang::ObjCAtCatchStmt::setCatchParamDecl | ( | VarDecl * | D | ) | [inline] |
Definition at line 100 of file StmtObjC.h.
void clang::ObjCAtCatchStmt::setRParenLoc | ( | SourceLocation | Loc | ) | [inline] |
Definition at line 105 of file StmtObjC.h.