clang  3.7.0
Public Member Functions | Static Public Member Functions | Friends | List of all members
clang::CXXCatchStmt Class Reference

#include <StmtCXX.h>

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

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.

clang::CXXCatchStmt::CXXCatchStmt ( EmptyShell  Empty)
inline

Definition at line 41 of file StmtCXX.h.

Member Function Documentation

child_range clang::CXXCatchStmt::children ( )
inline

Definition at line 58 of file StmtCXX.h.

static bool clang::CXXCatchStmt::classof ( const Stmt T)
inlinestatic

Definition at line 54 of file StmtCXX.h.

SourceLocation clang::CXXCatchStmt::getCatchLoc ( ) const
inline

Definition at line 49 of file StmtCXX.h.

Referenced by clang::ASTNodeImporter::VisitCXXCatchStmt().

QualType CXXCatchStmt::getCaughtType ( ) const
VarDecl* clang::CXXCatchStmt::getExceptionDecl ( ) const
inline
Stmt* clang::CXXCatchStmt::getHandlerBlock ( ) const
inline
SourceLocation clang::CXXCatchStmt::getLocEnd ( ) const
inline

Definition at line 45 of file StmtCXX.h.

SourceLocation clang::CXXCatchStmt::getLocStart ( ) const
inline

Definition at line 44 of file StmtCXX.h.

Referenced by clang::Sema::ActOnCXXTryBlock().

Friends And Related Function Documentation

friend class ASTStmtReader
friend

Definition at line 60 of file StmtCXX.h.


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