/external/llvm-project/llvm/utils/TableGen/GlobalISel/ |
D | CodeExpander.cpp | 59 StringRef EndVar = StartVar.drop_front(2 /* ${ */ + Var.size()); in emit() local 60 if (EndVar.empty()) { in emit()
|
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/ |
D | LoopConvertCheck.cpp | 849 const auto *EndVar = Nodes.getNodeAs<VarDecl>(EndVarName); in isConvertible() local 851 if (EndVar && !areSameVariable(EndVar, ConditionEndVar)) in isConvertible() 906 const auto *EndVar = Nodes.getNodeAs<VarDecl>(EndVarName); in check() local 910 if (FixerKind != LFK_Array && !EndVar) in check() 925 Context, LoopVar->getInit(), EndVar ? EndVar->getInit() : EndCall, in check() 938 ForLoopIndexUseVisitor Finder(Context, LoopVar, EndVar, ContainerExpr, in check()
|
D | LoopConvertUtils.cpp | 451 const VarDecl *EndVar, in ForLoopIndexUseVisitor() argument 455 : Context(Context), IndexVar(IndexVar), EndVar(EndVar), in ForLoopIndexUseVisitor() 748 exprReferencesVariable(IndexVar, E) || areSameVariable(EndVar, TheDecl) || in VisitDeclRefExpr() 749 exprReferencesVariable(EndVar, E)) in VisitDeclRefExpr()
|
D | LoopConvertUtils.h | 292 const VarDecl *EndVar, const Expr *ContainerExpr, 368 const VarDecl *EndVar; variable
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaStmt.cpp | 2230 QualType RangeType, VarDecl *BeginVar, VarDecl *EndVar, in BuildNonArrayForRange() argument 2285 if (FinishForRangeVarDecl(SemaRef, EndVar, EndExpr->get(), ColonLoc, in BuildNonArrayForRange() 2471 VarDecl *EndVar = BuildForRangeVarDecl(*this, ColonLoc, AutoType, in BuildCXXForRangeStmt() local 2525 EndVar->getLocation(), UETT_SizeOf, in BuildCXXForRangeStmt() 2530 EndVar->getSourceRange()); in BuildCXXForRangeStmt() 2535 EndVar->getLocation(), UETT_SizeOf, in BuildCXXForRangeStmt() 2541 EndVar->getSourceRange()); in BuildCXXForRangeStmt() 2546 ActOnBinOp(S, EndVar->getLocation(), tok::slash, in BuildCXXForRangeStmt() 2562 if (FinishForRangeVarDecl(*this, EndVar, EndExpr.get(), ColonLoc, in BuildCXXForRangeStmt() 2573 EndVar, ColonLoc, CoawaitLoc, &CandidateSet, &BeginExpr, &EndExpr, in BuildCXXForRangeStmt() [all …]
|
/external/clang/lib/Sema/ |
D | SemaStmt.cpp | 2034 VarDecl *EndVar, in BuildNonArrayForRange() argument 2103 if (FinishForRangeVarDecl(SemaRef, EndVar, EndExpr->get(), ColonLoc, in BuildNonArrayForRange() 2235 VarDecl *EndVar = BuildForRangeVarDecl(*this, ColonLoc, AutoType, in BuildCXXForRangeStmt() local 2273 if (FinishForRangeVarDecl(*this, EndVar, EndExpr.get(), ColonLoc, in BuildCXXForRangeStmt() 2285 BeginVar, EndVar, ColonLoc, &CandidateSet, in BuildCXXForRangeStmt() 2333 QualType BeginType = BeginVar->getType(), EndType = EndVar->getType(); in BuildCXXForRangeStmt() 2346 ActOnDeclStmt(ConvertDeclToDeclGroup(EndVar), ColonLoc, ColonLoc); in BuildCXXForRangeStmt() 2354 ExprResult EndRef = BuildDeclRefExpr(EndVar, EndType.getNonReferenceType(), in BuildCXXForRangeStmt()
|