Home
last modified time | relevance | path

Searched refs:LoopVar (Results 1 – 8 of 8) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DStmtCXX.cpp50 Expr *Cond, Expr *Inc, DeclStmt *LoopVar, in CXXForRangeStmt() argument
62 SubExprs[LOOPVAR] = LoopVar; in CXXForRangeStmt()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmt.cpp2468 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 DTreeTransform.h2610 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 DStmtCXX.h148 DeclStmt *End, Expr *Cond, Expr *Inc, DeclStmt *LoopVar,
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseStmt.cpp1967 ForRangeInfo.LoopVar = in ParseForStatement()
2002 ForRangeInfo.LoopVar = FirstPart; in ParseForStatement()
2185 ForRangeInfo.LoopVar.get(), ForRangeInfo.ColonLoc, in ParseForStatement()
H A DParseExprCXX.cpp1981 FRI->LoopVar = Actions.ActOnDeclStmt(DG, DeclStart, Tok.getLocation()); in ParseCXXCondition()
/freebsd/contrib/llvm-project/clang/include/clang/Parse/
H A DParser.h1711 StmtResult LoopVar; member
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h11000 Stmt *InitStmt, Stmt *LoopVar, SourceLocation ColonLoc, Expr *Collection,