#include "clang/AST/StmtCXX.h"
#include "clang/AST/ASTContext.h"
usingnamespaceclang;
QualType CXXCatchStmt::getCaughtType() const { … }
CXXTryStmt *CXXTryStmt::Create(const ASTContext &C, SourceLocation tryLoc,
CompoundStmt *tryBlock,
ArrayRef<Stmt *> handlers) { … }
CXXTryStmt *CXXTryStmt::Create(const ASTContext &C, EmptyShell Empty,
unsigned numHandlers) { … }
CXXTryStmt::CXXTryStmt(SourceLocation tryLoc, CompoundStmt *tryBlock,
ArrayRef<Stmt *> handlers)
: … { … }
CXXForRangeStmt::CXXForRangeStmt(Stmt *Init, DeclStmt *Range,
DeclStmt *BeginStmt, DeclStmt *EndStmt,
Expr *Cond, Expr *Inc, DeclStmt *LoopVar,
Stmt *Body, SourceLocation FL,
SourceLocation CAL, SourceLocation CL,
SourceLocation RPL)
: … { … }
Expr *CXXForRangeStmt::getRangeInit() { … }
const Expr *CXXForRangeStmt::getRangeInit() const { … }
VarDecl *CXXForRangeStmt::getLoopVariable() { … }
const VarDecl *CXXForRangeStmt::getLoopVariable() const { … }
CoroutineBodyStmt *CoroutineBodyStmt::Create(
const ASTContext &C, CoroutineBodyStmt::CtorArgs const &Args) { … }
CoroutineBodyStmt *CoroutineBodyStmt::Create(const ASTContext &C, EmptyShell,
unsigned NumParams) { … }
CoroutineBodyStmt::CoroutineBodyStmt(CoroutineBodyStmt::CtorArgs const &Args)
: … { … }