clang API Documentation

Public Member Functions | Static Public Member Functions
clang::ObjCAtCatchStmt Class Reference

Represents Objective-C's @catch statement. More...

#include <StmtObjC.h>

Inheritance diagram for clang::ObjCAtCatchStmt:
Inheritance graph
[legend]
Collaboration diagram for clang::ObjCAtCatchStmt:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ObjCAtCatchStmt (SourceLocation atCatchLoc, SourceLocation rparenloc, VarDecl *catchVarDecl, Stmt *atCatchStmt)
 ObjCAtCatchStmt (EmptyShell Empty)
const StmtgetCatchBody () const
StmtgetCatchBody ()
void setCatchBody (Stmt *S)
const VarDeclgetCatchParamDecl () const
VarDeclgetCatchParamDecl ()
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)

Detailed Description

Represents Objective-C's @catch statement.

Definition at line 74 of file StmtObjC.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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().

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().

Definition at line 91 of file StmtObjC.h.

Definition at line 94 of file StmtObjC.h.

Referenced by clang::CodeGen::CGObjCRuntime::EmitTryCatchStmt(), and hasEllipsis().

Definition at line 97 of file StmtObjC.h.

Reimplemented from clang::Stmt.

Definition at line 108 of file StmtObjC.h.

References clang::Stmt::getLocEnd().

Referenced by clang::ObjCAtTryStmt::getLocEnd().

Reimplemented from clang::Stmt.

Definition at line 107 of file StmtObjC.h.

Definition at line 104 of file StmtObjC.h.

Definition at line 110 of file StmtObjC.h.

References getCatchParamDecl().

Definition at line 103 of file StmtObjC.h.

Definition at line 92 of file StmtObjC.h.

References S.

Definition at line 100 of file StmtObjC.h.

Definition at line 105 of file StmtObjC.h.


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