class CXXCatchStmt

Declaration

class CXXCatchStmt : public Stmt { /* full declaration omitted */ };

Description

CXXCatchStmt - This represents a C++ catch block.

Declared at: clang/include/clang/AST/StmtCXX.h:28

Inherits from: Stmt

Member Variables

private clang::SourceLocation CatchLoc
private clang::VarDecl* ExceptionDecl
The exception-declaration of the type.
private clang::Stmt* HandlerBlock
The handler block.

Inherited from Stmt:

protected

Method Overview

Inherited from Stmt:

Methods

CXXCatchStmt(clang::SourceLocation catchLoc,
             clang::VarDecl* exDecl,
             clang::Stmt* handlerBlock)

Declared at: clang/include/clang/AST/StmtCXX.h:36

Parameters

clang::SourceLocation catchLoc
clang::VarDecl* exDecl
clang::Stmt* handlerBlock

CXXCatchStmt(clang::Stmt::EmptyShell Empty)

Declared at: clang/include/clang/AST/StmtCXX.h:40

Parameters

clang::Stmt::EmptyShell Empty

clang::Stmt::child_range children()

Declared at: clang/include/clang/AST/StmtCXX.h:57

clang::Stmt::const_child_range children() const

Declared at: clang/include/clang/AST/StmtCXX.h:59

static bool classof(const clang::Stmt* T)

Declared at: clang/include/clang/AST/StmtCXX.h:53

Parameters

const clang::Stmt* T

clang::SourceLocation getBeginLoc() const

Declared at: clang/include/clang/AST/StmtCXX.h:43

clang::SourceLocation getCatchLoc() const

Declared at: clang/include/clang/AST/StmtCXX.h:48

clang::QualType getCaughtType() const

Declared at: clang/include/clang/AST/StmtCXX.h:50

clang::SourceLocation getEndLoc() const

Declared at: clang/include/clang/AST/StmtCXX.h:44

clang::VarDecl* getExceptionDecl() const

Declared at: clang/include/clang/AST/StmtCXX.h:49

clang::Stmt* getHandlerBlock() const

Declared at: clang/include/clang/AST/StmtCXX.h:51