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:
Method Overview
- public CXXCatchStmt(clang::SourceLocation catchLoc, clang::VarDecl * exDecl, clang::Stmt * handlerBlock)
- public CXXCatchStmt(clang::Stmt::EmptyShell Empty)
- public clang::Stmt::child_range children()
- public clang::Stmt::const_child_range children() const
- public static bool classof(const clang::Stmt * T)
- public clang::SourceLocation getBeginLoc() const
- public clang::SourceLocation getCatchLoc() const
- public clang::QualType getCaughtType() const
- public clang::SourceLocation getEndLoc() const
- public clang::VarDecl * getExceptionDecl() const
- public clang::Stmt * getHandlerBlock() const
Inherited from Stmt:
- public EnableStatistics
- public IgnoreContainers
- public IgnoreContainers
- public PrintStats
- public ProcessODRHash
- public Profile
- public addStmtClass
- public child_begin
- public child_begin
- public child_end
- public child_end
- public children
- public children
- public determineLikelihoodConflict
- public dump
- public dump
- public dumpColor
- public dumpPretty
- public getBeginLoc
- public getEndLoc
- public getID
- public getLikelihood
- public getLikelihood
- public getLikelihood
- public getLikelihoodAttr
- public getSourceRange
- public getStmtClass
- public getStmtClassName
- public printJson
- public printPretty
- public printPrettyControlled
- public stripLabelLikeStatements
- public stripLabelLikeStatements
- public viewAST
Methods
¶CXXCatchStmt(clang::SourceLocation catchLoc,
clang::VarDecl* exDecl,
clang::Stmt* handlerBlock)
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)
CXXCatchStmt(clang::Stmt::EmptyShell Empty)
Declared at: clang/include/clang/AST/StmtCXX.h:40
Parameters
- clang::Stmt::EmptyShell Empty
¶clang::Stmt::child_range children()
clang::Stmt::child_range children()
Declared at: clang/include/clang/AST/StmtCXX.h:57
¶clang::Stmt::const_child_range children() const
clang::Stmt::const_child_range children() const
Declared at: clang/include/clang/AST/StmtCXX.h:59
¶static bool classof(const clang::Stmt* T)
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
clang::SourceLocation getBeginLoc() const
Declared at: clang/include/clang/AST/StmtCXX.h:43
¶clang::SourceLocation getCatchLoc() const
clang::SourceLocation getCatchLoc() const
Declared at: clang/include/clang/AST/StmtCXX.h:48
¶clang::QualType getCaughtType() const
clang::QualType getCaughtType() const
Declared at: clang/include/clang/AST/StmtCXX.h:50
¶clang::SourceLocation getEndLoc() const
clang::SourceLocation getEndLoc() const
Declared at: clang/include/clang/AST/StmtCXX.h:44
¶clang::VarDecl* getExceptionDecl() const
clang::VarDecl* getExceptionDecl() const
Declared at: clang/include/clang/AST/StmtCXX.h:49
¶clang::Stmt* getHandlerBlock() const
clang::Stmt* getHandlerBlock() const
Declared at: clang/include/clang/AST/StmtCXX.h:51