Searched refs:LoopVar (Results 1 – 9 of 9) 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 | 2361 Decl *LoopVar = DS->getSingleDecl(); in ActOnCXXForRangeStmt() local 2362 if (LoopVar->isInvalidDecl() || !Range || in ActOnCXXForRangeStmt() 2364 ActOnInitializerError(LoopVar); in ActOnCXXForRangeStmt() 2372 ActOnInitializerError(LoopVar); in ActOnCXXForRangeStmt() 2386 ActOnInitializerError(LoopVar); in ActOnCXXForRangeStmt() 2395 ActOnInitializerError(LoopVar); in ActOnCXXForRangeStmt() 2405 ActOnInitializerError(LoopVar); in ActOnCXXForRangeStmt() 2614 VarDecl *LoopVar = cast<VarDecl>(LoopVarDS->getSingleDecl()); in BuildCXXForRangeStmt() local 2626 if (!LoopVar->isInvalidDecl() && Kind != BFRK_Check) { in BuildCXXForRangeStmt() 2627 if (auto *DD = dyn_cast<DecompositionDecl>(LoopVar)) in BuildCXXForRangeStmt() [all …]
|
H A D | TreeTransform.h | 2577 Expr *Inc, Stmt *LoopVar, SourceLocation RParenLoc, in RebuildCXXForRangeStmt() argument 2598 ForLoc, LoopVar, RangeExpr, RParenLoc); in RebuildCXXForRangeStmt() 2606 LoopVar, RParenLoc, Sema::BFRK_Rebuild, LifetimeExtendTemps); in RebuildCXXForRangeStmt() 8891 StmtResult LoopVar = getDerived().TransformStmt(S->getLoopVarStmt()); in TransformCXXForRangeStmt() local 8892 if (LoopVar.isInvalid()) in TransformCXXForRangeStmt() 8903 LoopVar.get() != S->getLoopVarStmt()) { in TransformCXXForRangeStmt() 8907 LoopVar.get(), S->getRParenLoc(), ForRangeLifetimeExtendTemps); in TransformCXXForRangeStmt() 8908 if (NewStmt.isInvalid() && LoopVar.get() != S->getLoopVarStmt()) { in TransformCXXForRangeStmt() 8911 cast<DeclStmt>(LoopVar.get())->getSingleDecl()); in TransformCXXForRangeStmt() 8926 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 | 2093 ForRangeInfo.LoopVar = in ParseForStatement() 2122 ForRangeInfo.LoopVar = FirstPart; in ParseForStatement() 2307 ForRangeInfo.LoopVar.get(), ForRangeInfo.ColonLoc, CorrectedRange.get(), in ParseForStatement()
|
H A D | ParseExprCXX.cpp | 2231 FRI->LoopVar = Actions.ActOnDeclStmt(DG, DeclStart, Tok.getLocation()); in ParseCXXCondition()
|
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/ |
H A D | Compiler.cpp | 4460 const VarDecl *LoopVar = S->getLoopVariable(); in visitCXXForRangeStmt() local 4485 if (!this->visitVarDecl(LoopVar)) in visitCXXForRangeStmt()
|
/freebsd/contrib/llvm-project/clang/include/clang/Parse/ |
H A D | Parser.h | 2463 StmtResult LoopVar; member
|
/freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | Sema.h | 10785 Stmt *InitStmt, Stmt *LoopVar, SourceLocation ColonLoc, Expr *Collection,
|