Searched refs:RangeVar (Results 1 – 4 of 4) sorted by relevance
/external/clang/lib/Sema/ |
D | SemaStmt.cpp | 1996 VarDecl *RangeVar = BuildForRangeVarDecl(*this, RangeLoc, in ActOnCXXForRangeStmt() local 1999 if (FinishForRangeVarDecl(*this, RangeVar, Range, RangeLoc, in ActOnCXXForRangeStmt() 2007 BuildDeclaratorGroup(MutableArrayRef<Decl *>((Decl **)&RangeVar, 1), in ActOnCXXForRangeStmt() 2184 VarDecl *RangeVar = cast<VarDecl>(RangeDS->getSingleDecl()); in BuildCXXForRangeStmt() local 2185 QualType RangeVarType = RangeVar->getType(); in BuildCXXForRangeStmt() 2201 RangeVar->markUsed(Context); in BuildCXXForRangeStmt() 2208 SourceLocation RangeLoc = RangeVar->getLocation(); in BuildCXXForRangeStmt() 2212 ExprResult BeginRangeRef = BuildDeclRefExpr(RangeVar, RangeVarNonRefType, in BuildCXXForRangeStmt() 2217 ExprResult EndRangeRef = BuildDeclRefExpr(RangeVar, RangeVarNonRefType, in BuildCXXForRangeStmt() 2223 Expr *Range = RangeVar->getInit(); in BuildCXXForRangeStmt()
|
D | TreeTransform.h | 1905 if (VarDecl *RangeVar = dyn_cast<VarDecl>(RangeStmt->getSingleDecl())) { in RebuildCXXForRangeStmt() local 1906 if (RangeVar->isInvalidDecl()) in RebuildCXXForRangeStmt() 1909 Expr *RangeExpr = RangeVar->getInit(); in RebuildCXXForRangeStmt()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaStmt.cpp | 2189 VarDecl *RangeVar = BuildForRangeVarDecl(*this, RangeLoc, in ActOnCXXForRangeStmt() local 2192 if (FinishForRangeVarDecl(*this, RangeVar, Range, RangeLoc, in ActOnCXXForRangeStmt() 2200 BuildDeclaratorGroup(MutableArrayRef<Decl *>((Decl **)&RangeVar, 1)); in ActOnCXXForRangeStmt() 2419 VarDecl *RangeVar = cast<VarDecl>(RangeDS->getSingleDecl()); in BuildCXXForRangeStmt() local 2420 QualType RangeVarType = RangeVar->getType(); in BuildCXXForRangeStmt() 2431 RangeVar->markUsed(Context); in BuildCXXForRangeStmt() 2442 SourceLocation RangeLoc = RangeVar->getLocation(); in BuildCXXForRangeStmt() 2446 ExprResult BeginRangeRef = BuildDeclRefExpr(RangeVar, RangeVarNonRefType, in BuildCXXForRangeStmt() 2451 ExprResult EndRangeRef = BuildDeclRefExpr(RangeVar, RangeVarNonRefType, in BuildCXXForRangeStmt() 2457 Expr *Range = RangeVar->getInit(); in BuildCXXForRangeStmt()
|
D | TreeTransform.h | 2253 if (VarDecl *RangeVar = dyn_cast<VarDecl>(RangeStmt->getSingleDecl())) { in RebuildCXXForRangeStmt() local 2254 if (RangeVar->isInvalidDecl()) in RebuildCXXForRangeStmt() 2257 Expr *RangeExpr = RangeVar->getInit(); in RebuildCXXForRangeStmt()
|