Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaStmt.cpp1941 Decl *LoopVar = DS->getSingleDecl(); in ActOnCXXForRangeStmt() local
1942 if (LoopVar->isInvalidDecl() || !Range || in ActOnCXXForRangeStmt()
1944 LoopVar->setInvalidDecl(); in ActOnCXXForRangeStmt()
1955 LoopVar->setInvalidDecl(); in ActOnCXXForRangeStmt()
1965 LoopVar->setInvalidDecl(); in ActOnCXXForRangeStmt()
2125 VarDecl *LoopVar = cast<VarDecl>(LoopVarDS->getSingleDecl()); in BuildCXXForRangeStmt() local
2129 InvalidateOnErrorScope Invalidate(*this, LoopVar, in BuildCXXForRangeStmt()
2130 LoopVar->getType()->isUndeducedType()); in BuildCXXForRangeStmt()
2141 if (!LoopVar->isInvalidDecl() && Kind != BFRK_Check) in BuildCXXForRangeStmt()
2142 LoopVar->setType(SubstAutoType(LoopVar->getType(), Context.DependentTy)); in BuildCXXForRangeStmt()
[all …]
DTreeTransform.h1649 Stmt *LoopVar, in RebuildCXXForRangeStmt() argument
1662 return getSema().ActOnObjCForCollectionStmt(ForLoc, LoopVar, RangeExpr, in RebuildCXXForRangeStmt()
1669 Cond, Inc, LoopVar, RParenLoc, in RebuildCXXForRangeStmt()
6455 StmtResult LoopVar = getDerived().TransformStmt(S->getLoopVarStmt()); in TransformCXXForRangeStmt() local
6456 if (LoopVar.isInvalid()) in TransformCXXForRangeStmt()
6465 LoopVar.get() != S->getLoopVarStmt()) { in TransformCXXForRangeStmt()
6469 Inc.get(), LoopVar.get(), in TransformCXXForRangeStmt()
6485 Inc.get(), LoopVar.get(), in TransformCXXForRangeStmt()
/external/clang/include/clang/AST/
DStmtCXX.h138 Expr *Cond, Expr *Inc, DeclStmt *LoopVar, Stmt *Body,
/external/clang/lib/AST/
DStmt.cpp849 Expr *Cond, Expr *Inc, DeclStmt *LoopVar, in CXXForRangeStmt() argument
857 SubExprs[LOOPVAR] = LoopVar; in CXXForRangeStmt()
/external/clang/include/clang/Sema/
DSema.h3129 StmtResult ActOnCXXForRangeStmt(SourceLocation ForLoc, Stmt *LoopVar,