Searched refs:RangeVar (Results 1 – 2 of 2) sorted by relevance
/external/clang/lib/Sema/ |
D | SemaStmt.cpp | 1926 VarDecl *RangeVar = BuildForRangeVarDecl(*this, RangeLoc, in ActOnCXXForRangeStmt() local 1929 if (FinishForRangeVarDecl(*this, RangeVar, Range, RangeLoc, in ActOnCXXForRangeStmt() 1937 BuildDeclaratorGroup(MutableArrayRef<Decl *>((Decl **)&RangeVar, 1), in ActOnCXXForRangeStmt() 2097 VarDecl *RangeVar = cast<VarDecl>(RangeDS->getSingleDecl()); in BuildCXXForRangeStmt() local 2098 QualType RangeVarType = RangeVar->getType(); in BuildCXXForRangeStmt() 2113 RangeVar->markUsed(Context); in BuildCXXForRangeStmt() 2120 SourceLocation RangeLoc = RangeVar->getLocation(); in BuildCXXForRangeStmt() 2124 ExprResult BeginRangeRef = BuildDeclRefExpr(RangeVar, RangeVarNonRefType, in BuildCXXForRangeStmt() 2129 ExprResult EndRangeRef = BuildDeclRefExpr(RangeVar, RangeVarNonRefType, in BuildCXXForRangeStmt() 2135 Expr *Range = RangeVar->getInit(); in BuildCXXForRangeStmt()
|
D | TreeTransform.h | 1605 if (VarDecl *RangeVar = dyn_cast<VarDecl>(RangeStmt->getSingleDecl())) { in RebuildCXXForRangeStmt() local 1606 if (RangeVar->isInvalidDecl()) in RebuildCXXForRangeStmt() 1609 Expr *RangeExpr = RangeVar->getInit(); in RebuildCXXForRangeStmt()
|