Searched refs:LoopVar (Results 1 – 8 of 8) sorted by relevance
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | StmtCXX.cpp | 50 Expr *Cond, Expr *Inc, DeclStmt *LoopVar, in CXXForRangeStmt() argument 62 SubExprs[LOOPVAR] = LoopVar; in CXXForRangeStmt()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaStmt.cpp | 2468 Decl *LoopVar = DS->getSingleDecl(); in ActOnCXXForRangeStmt() local 2469 if (LoopVar->isInvalidDecl() || !Range || in ActOnCXXForRangeStmt() 2471 ActOnInitializerError(LoopVar); in ActOnCXXForRangeStmt() 2479 ActOnInitializerError(LoopVar); in ActOnCXXForRangeStmt() 2493 ActOnInitializerError(LoopVar); in ActOnCXXForRangeStmt() 2502 ActOnInitializerError(LoopVar); in ActOnCXXForRangeStmt() 2512 ActOnInitializerError(LoopVar); in ActOnCXXForRangeStmt() 2721 VarDecl *LoopVar = cast<VarDecl>(LoopVarDS->getSingleDecl()); in BuildCXXForRangeStmt() local 2733 if (!LoopVar->isInvalidDecl() && Kind != BFRK_Check) { in BuildCXXForRangeStmt() 2734 if (auto *DD = dyn_cast<DecompositionDecl>(LoopVar)) in BuildCXXForRangeStmt() [all …]
|
| H A D | TreeTransform.h | 2610 Expr *Inc, Stmt *LoopVar, SourceLocation RParenLoc, in RebuildCXXForRangeStmt() argument 2631 ForLoc, LoopVar, RangeExpr, RParenLoc); in RebuildCXXForRangeStmt() 2639 LoopVar, RParenLoc, Sema::BFRK_Rebuild, LifetimeExtendTemps); in RebuildCXXForRangeStmt() 9244 StmtResult LoopVar = getDerived().TransformStmt(S->getLoopVarStmt()); in TransformCXXForRangeStmt() local 9245 if (LoopVar.isInvalid()) in TransformCXXForRangeStmt() 9256 LoopVar.get() != S->getLoopVarStmt()) { in TransformCXXForRangeStmt() 9260 LoopVar.get(), S->getRParenLoc(), ForRangeLifetimeExtendTemps); in TransformCXXForRangeStmt() 9261 if (NewStmt.isInvalid() && LoopVar.get() != S->getLoopVarStmt()) { in TransformCXXForRangeStmt() 9264 cast<DeclStmt>(LoopVar.get())->getSingleDecl()); in TransformCXXForRangeStmt() 9286 LoopVar.get(), S->getRParenLoc(), ForRangeLifetimeExtendTemps); in TransformCXXForRangeStmt()
|
| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | StmtCXX.h | 148 DeclStmt *End, Expr *Cond, Expr *Inc, DeclStmt *LoopVar,
|
| /freebsd/contrib/llvm-project/clang/lib/Parse/ |
| H A D | ParseStmt.cpp | 1967 ForRangeInfo.LoopVar = in ParseForStatement() 2002 ForRangeInfo.LoopVar = FirstPart; in ParseForStatement() 2185 ForRangeInfo.LoopVar.get(), ForRangeInfo.ColonLoc, in ParseForStatement()
|
| H A D | ParseExprCXX.cpp | 1981 FRI->LoopVar = Actions.ActOnDeclStmt(DG, DeclStart, Tok.getLocation()); in ParseCXXCondition()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Parse/ |
| H A D | Parser.h | 1711 StmtResult LoopVar; member
|
| /freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | Sema.h | 11000 Stmt *InitStmt, Stmt *LoopVar, SourceLocation ColonLoc, Expr *Collection,
|