|
clang
3.8.0
|
CXXForRangeStmt - This represents C++0x [stmt.ranged]'s ranged for statement, represented as 'for (range-declarator : range-expression)'. More...
#include <StmtCXX.h>
Static Public Member Functions | |
| static bool | classof (const Stmt *T) |
Friends | |
| class | ASTStmtReader |
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 | CAL, | ||
| SourceLocation | CL, | ||
| SourceLocation | RPL | ||
| ) |
Definition at line 52 of file StmtCXX.cpp.
|
inline |
|
inline |
Definition at line 155 of file StmtCXX.h.
Referenced by clang::CodeGen::CodeGenFunction::EmitCXXForRangeStmt(), EvaluateStmt(), and clang::ASTNodeImporter::VisitCXXForRangeStmt().
|
inline |
|
inline |
Definition at line 161 of file StmtCXX.h.
Referenced by clang::CodeGen::CodeGenFunction::EmitCXXForRangeStmt(), EvaluateStmt(), isInLoopBody(), and clang::ASTNodeImporter::VisitCXXForRangeStmt().
|
inline |
|
inline |
Definition at line 189 of file StmtCXX.h.
Referenced by clang::ASTNodeImporter::VisitCXXForRangeStmt().
|
inline |
Definition at line 190 of file StmtCXX.h.
References ColonLoc.
Referenced by clang::ASTNodeImporter::VisitCXXForRangeStmt().
|
inline |
Definition at line 158 of file StmtCXX.h.
Referenced by clang::CodeGen::CodeGenFunction::EmitCXXForRangeStmt(), EvaluateStmt(), isConditionForTerminator(), and clang::ASTNodeImporter::VisitCXXForRangeStmt().
|
inline |
|
inline |
Definition at line 188 of file StmtCXX.h.
Referenced by clang::ASTNodeImporter::VisitCXXForRangeStmt().
|
inline |
Definition at line 159 of file StmtCXX.h.
Referenced by clang::CodeGen::CodeGenFunction::EmitCXXForRangeStmt(), EvaluateStmt(), isInLoopBody(), and clang::ASTNodeImporter::VisitCXXForRangeStmt().
|
inline |
|
inline |
|
inline |
Definition at line 193 of file StmtCXX.h.
Referenced by DiagnoseForRangeVariableCopies().
| VarDecl * CXXForRangeStmt::getLoopVariable | ( | ) |
Definition at line 78 of file StmtCXX.cpp.
References getLoopVarStmt().
Referenced by DiagnoseForRangeVariableCopies(), and getLoopVariable().
| const VarDecl * CXXForRangeStmt::getLoopVariable | ( | ) | const |
Definition at line 84 of file StmtCXX.cpp.
References getLoopVariable().
|
inline |
Definition at line 160 of file StmtCXX.h.
Referenced by clang::CodeGen::CodeGenFunction::EmitCXXForRangeStmt(), EvaluateStmt(), getLoopVariable(), isInLoopBody(), and clang::ASTNodeImporter::VisitCXXForRangeStmt().
|
inline |
| Expr * CXXForRangeStmt::getRangeInit | ( | ) |
Definition at line 67 of file StmtCXX.cpp.
References clang::VarDecl::getInit(), getRangeStmt(), and clang::DeclStmt::getSingleDecl().
Referenced by DiagnoseForRangeVariableCopies(), getRangeInit(), and isConditionForTerminator().
| const Expr * CXXForRangeStmt::getRangeInit | ( | ) | const |
Definition at line 74 of file StmtCXX.cpp.
References getRangeInit().
|
inline |
Definition at line 154 of file StmtCXX.h.
Referenced by clang::CodeGen::CodeGenFunction::EmitCXXForRangeStmt(), EvaluateStmt(), getRangeInit(), and clang::ASTNodeImporter::VisitCXXForRangeStmt().
|
inline |
|
inline |
Definition at line 191 of file StmtCXX.h.
Referenced by clang::Sema::FinishCXXForRangeStmt(), and clang::ASTNodeImporter::VisitCXXForRangeStmt().
|
inline |
|
inline |
Definition at line 186 of file StmtCXX.h.
References S.
Referenced by clang::Sema::FinishCXXForRangeStmt().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |
1.8.6