clang API Documentation

Public Member Functions | Static Public Member Functions | Friends
clang::CXXCatchStmt Class Reference

#include <StmtCXX.h>

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

List of all members.

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
VarDeclgetExceptionDecl () const
QualType getCaughtType () const
StmtgetHandlerBlock () const
child_range children ()

Static Public Member Functions

static bool classof (const Stmt *T)

Friends

class ASTStmtReader

Detailed Description

CXXCatchStmt - This represents a C++ catch block.

Definition at line 29 of file StmtCXX.h.


Constructor & Destructor Documentation

clang::CXXCatchStmt::CXXCatchStmt ( SourceLocation  catchLoc,
VarDecl exDecl,
Stmt handlerBlock 
) [inline]

Definition at line 37 of file StmtCXX.h.

Definition at line 41 of file StmtCXX.h.


Member Function Documentation

Reimplemented from clang::Stmt.

Definition at line 58 of file StmtCXX.h.

static bool clang::CXXCatchStmt::classof ( const Stmt T) [inline, static]

Definition at line 54 of file StmtCXX.h.

References clang::Stmt::getStmtClass().

Definition at line 49 of file StmtCXX.h.

Definition at line 52 of file StmtCXX.h.

Referenced by clang::CodeGen::CodeGenFunction::ExitCXXTryStmt().

Reimplemented from clang::Stmt.

Definition at line 45 of file StmtCXX.h.

References clang::Stmt::getLocEnd().

Reimplemented from clang::Stmt.

Definition at line 44 of file StmtCXX.h.

Referenced by clang::Sema::ActOnCXXTryBlock(), and BeginCatch().


Friends And Related Function Documentation

friend class ASTStmtReader [friend]

Reimplemented from clang::Stmt.

Definition at line 60 of file StmtCXX.h.


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