Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DStmtCXX.cpp49 Expr *Cond, Expr *Inc, DeclStmt *LoopVar, in CXXForRangeStmt() argument
61 SubExprs[LOOPVAR] = LoopVar; in CXXForRangeStmt()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmt.cpp2462 Decl *LoopVar = DS->getSingleDecl(); in ActOnCXXForRangeStmt() local
2463 if (LoopVar->isInvalidDecl() || !Range || in ActOnCXXForRangeStmt()
2465 ActOnInitializerError(LoopVar); in ActOnCXXForRangeStmt()
2473 ActOnInitializerError(LoopVar); in ActOnCXXForRangeStmt()
2487 ActOnInitializerError(LoopVar); in ActOnCXXForRangeStmt()
2496 ActOnInitializerError(LoopVar); in ActOnCXXForRangeStmt()
2505 ActOnInitializerError(LoopVar); in ActOnCXXForRangeStmt()
2728 if (!LoopVar->isInvalidDecl() && Kind != BFRK_Check) { in BuildCXXForRangeStmt()
2732 LoopVar->setType(SubstAutoType(LoopVar->getType(), Context.DependentTy)); in BuildCXXForRangeStmt()
2999 if (LoopVar->isInvalidDecl() || in BuildCXXForRangeStmt()
[all …]
H A DTreeTransform.h2349 Expr *Inc, Stmt *LoopVar, in RebuildCXXForRangeStmt() argument
2369 return getSema().ActOnObjCForCollectionStmt(ForLoc, LoopVar, in RebuildCXXForRangeStmt()
2377 Range, Begin, End, Cond, Inc, LoopVar, in RebuildCXXForRangeStmt()
8205 StmtResult LoopVar = getDerived().TransformStmt(S->getLoopVarStmt()); in TransformCXXForRangeStmt() local
8206 if (LoopVar.isInvalid()) in TransformCXXForRangeStmt()
8217 LoopVar.get() != S->getLoopVarStmt()) { in TransformCXXForRangeStmt()
8223 Inc.get(), LoopVar.get(), in TransformCXXForRangeStmt()
8225 if (NewStmt.isInvalid() && LoopVar.get() != S->getLoopVarStmt()) { in TransformCXXForRangeStmt()
8228 cast<DeclStmt>(LoopVar.get())->getSingleDecl()); in TransformCXXForRangeStmt()
8245 Inc.get(), LoopVar.get(), in TransformCXXForRangeStmt()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DStmtCXX.h147 DeclStmt *End, Expr *Cond, Expr *Inc, DeclStmt *LoopVar,
/freebsd-13.1/contrib/llvm-project/clang/lib/Parse/
H A DParseStmt.cpp1865 ForRangeInfo.LoopVar = Actions.ActOnCXXForRangeIdentifier( in ParseForStatement()
1888 ForRangeInfo.LoopVar = FirstPart; in ParseForStatement()
2053 ForRangeInfo.LoopVar.get(), ForRangeInfo.ColonLoc, CorrectedRange.get(), in ParseForStatement()
H A DParseExprCXX.cpp2035 FRI->LoopVar = Actions.ActOnDeclStmt(DG, DeclStart, Tok.getLocation()); in ParseCXXCondition()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Parse/
H A DParser.h2299 StmtResult LoopVar; member
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h4742 Stmt *LoopVar,