clang
3.7.0
|
#include <StmtCXX.h>
Static Public Member Functions | |
static bool | classof (const Stmt *T) |
CXXForRangeStmt - This represents C++0x [stmt.ranged]'s ranged for statement, represented as 'for (range-declarator : range-expression)'.
This is stored in a partially-desugared form to allow full semantic analysis of the constituent components. The original syntactic components can be extracted using getLoopVariable and getRangeInit.
CXXForRangeStmt::CXXForRangeStmt | ( | DeclStmt * | Range, |
DeclStmt * | BeginEnd, | ||
Expr * | Cond, | ||
Expr * | Inc, | ||
DeclStmt * | LoopVar, | ||
Stmt * | Body, | ||
SourceLocation | FL, | ||
SourceLocation | CL, | ||
SourceLocation | RPL | ||
) |
|
inline |
|
inline |
Definition at line 151 of file StmtCXX.h.
Referenced by clang::CodeGen::CodeGenFunction::EmitCXXForRangeStmt(), EvaluateStmt(), and clang::ASTNodeImporter::VisitCXXForRangeStmt().
|
inline |
|
inline |
Definition at line 157 of file StmtCXX.h.
Referenced by clang::CodeGen::CodeGenFunction::EmitCXXForRangeStmt(), EvaluateStmt(), isInLoopBody(), and clang::ASTNodeImporter::VisitCXXForRangeStmt().
|
inline |
|
inline |
Definition at line 187 of file StmtCXX.h.
Referenced by clang::ASTNodeImporter::VisitCXXForRangeStmt().
|
inline |
Definition at line 154 of file StmtCXX.h.
Referenced by clang::CodeGen::CodeGenFunction::EmitCXXForRangeStmt(), EvaluateStmt(), isConditionForTerminator(), and clang::ASTNodeImporter::VisitCXXForRangeStmt().
|
inline |
|
inline |
Definition at line 185 of file StmtCXX.h.
Referenced by clang::ASTNodeImporter::VisitCXXForRangeStmt().
|
inline |
Definition at line 155 of file StmtCXX.h.
Referenced by clang::CodeGen::CodeGenFunction::EmitCXXForRangeStmt(), EvaluateStmt(), isInLoopBody(), and clang::ASTNodeImporter::VisitCXXForRangeStmt().
|
inline |
|
inline |
|
inline |
Definition at line 192 of file StmtCXX.h.
Referenced by DiagnoseForRangeVariableCopies().
VarDecl * CXXForRangeStmt::getLoopVariable | ( | ) |
Definition at line 874 of file Stmt.cpp.
References getLoopVarStmt().
Referenced by DiagnoseForRangeVariableCopies(), and getLoopVariable().
const VarDecl * CXXForRangeStmt::getLoopVariable | ( | ) | const |
Definition at line 880 of file Stmt.cpp.
References getLoopVariable().
|
inline |
Definition at line 156 of file StmtCXX.h.
Referenced by clang::CodeGen::CodeGenFunction::EmitCXXForRangeStmt(), EvaluateStmt(), getLoopVariable(), isInLoopBody(), and clang::ASTNodeImporter::VisitCXXForRangeStmt().
|
inline |
Expr * CXXForRangeStmt::getRangeInit | ( | ) |
Definition at line 863 of file Stmt.cpp.
References clang::VarDecl::getInit(), getRangeStmt(), and clang::DeclStmt::getSingleDecl().
Referenced by DiagnoseForRangeVariableCopies(), getRangeInit(), and isConditionForTerminator().
const Expr * CXXForRangeStmt::getRangeInit | ( | ) | const |
Definition at line 870 of file Stmt.cpp.
References getRangeInit().
|
inline |
Definition at line 150 of file StmtCXX.h.
Referenced by clang::CodeGen::CodeGenFunction::EmitCXXForRangeStmt(), EvaluateStmt(), getRangeInit(), and clang::ASTNodeImporter::VisitCXXForRangeStmt().
|
inline |
|
inline |
Definition at line 189 of file StmtCXX.h.
Referenced by clang::Sema::FinishCXXForRangeStmt(), and clang::ASTNodeImporter::VisitCXXForRangeStmt().
|
inline |
|
inline |
Definition at line 182 of file StmtCXX.h.
References S.
Referenced by clang::Sema::FinishCXXForRangeStmt().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |