Home
last modified time | relevance | path

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

/freebsd-14.2/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-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmt.cpp2519 Decl *LoopVar = DS->getSingleDecl(); in ActOnCXXForRangeStmt() local
2520 if (LoopVar->isInvalidDecl() || !Range || in ActOnCXXForRangeStmt()
2522 ActOnInitializerError(LoopVar); in ActOnCXXForRangeStmt()
2530 ActOnInitializerError(LoopVar); in ActOnCXXForRangeStmt()
2544 ActOnInitializerError(LoopVar); in ActOnCXXForRangeStmt()
2553 ActOnInitializerError(LoopVar); in ActOnCXXForRangeStmt()
2562 ActOnInitializerError(LoopVar); in ActOnCXXForRangeStmt()
2785 if (!LoopVar->isInvalidDecl() && Kind != BFRK_Check) { in BuildCXXForRangeStmt()
2789 LoopVar->setType(SubstAutoTypeDependent(LoopVar->getType())); in BuildCXXForRangeStmt()
3056 if (LoopVar->isInvalidDecl() || in BuildCXXForRangeStmt()
[all …]
H A DTreeTransform.h2551 Expr *Inc, Stmt *LoopVar, in RebuildCXXForRangeStmt() argument
2571 return getSema().ActOnObjCForCollectionStmt(ForLoc, LoopVar, in RebuildCXXForRangeStmt()
2579 Range, Begin, End, Cond, Inc, LoopVar, in RebuildCXXForRangeStmt()
8579 StmtResult LoopVar = getDerived().TransformStmt(S->getLoopVarStmt()); in TransformCXXForRangeStmt() local
8580 if (LoopVar.isInvalid()) in TransformCXXForRangeStmt()
8591 LoopVar.get() != S->getLoopVarStmt()) { in TransformCXXForRangeStmt()
8597 Inc.get(), LoopVar.get(), in TransformCXXForRangeStmt()
8599 if (NewStmt.isInvalid() && LoopVar.get() != S->getLoopVarStmt()) { in TransformCXXForRangeStmt()
8602 cast<DeclStmt>(LoopVar.get())->getSingleDecl()); in TransformCXXForRangeStmt()
8619 Inc.get(), LoopVar.get(), in TransformCXXForRangeStmt()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/
H A DByteCodeStmtGen.cpp516 const VarDecl *LoopVar = S->getLoopVariable(); in visitCXXForRangeStmt() local
540 if (!this->visitVarDecl(LoopVar)) in visitCXXForRangeStmt()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DStmtCXX.h148 DeclStmt *End, Expr *Cond, Expr *Inc, DeclStmt *LoopVar,
/freebsd-14.2/contrib/llvm-project/clang/lib/Parse/
H A DParseStmt.cpp2078 ForRangeInfo.LoopVar = in ParseForStatement()
2107 ForRangeInfo.LoopVar = FirstPart; in ParseForStatement()
2290 ForRangeInfo.LoopVar.get(), ForRangeInfo.ColonLoc, CorrectedRange.get(), in ParseForStatement()
H A DParseExprCXX.cpp2132 FRI->LoopVar = Actions.ActOnDeclStmt(DG, DeclStart, Tok.getLocation()); in ParseCXXCondition()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Parse/
H A DParser.h2405 StmtResult LoopVar; member
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h5253 Stmt *LoopVar,