Home
last modified time | relevance | path

Searched refs:EndExpr (Results 1 – 4 of 4) sorted by relevance

/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DInaccurateEraseCheck.cpp50 const auto *EndExpr = in check() local
56 if (!Loc.isMacroID() && EndExpr) { in check()
59 CharSourceRange::getTokenRange(EndExpr->getSourceRange()), in check()
/external/clang/lib/Sema/
DSemaStmt.cpp2038 ExprResult *EndExpr, in BuildNonArrayForRange() argument
2096 EndRange, EndExpr); in BuildNonArrayForRange()
2103 if (FinishForRangeVarDecl(SemaRef, EndVar, EndExpr->get(), ColonLoc, in BuildNonArrayForRange()
2105 NoteForRangeBeginEndFunction(SemaRef, EndExpr->get(), *BEF); in BuildNonArrayForRange()
2239 ExprResult BeginExpr, EndExpr; in BuildCXXForRangeStmt() local
2269 EndExpr = ActOnBinOp(S, ColonLoc, tok::plus, EndRangeRef.get(), in BuildCXXForRangeStmt()
2271 if (EndExpr.isInvalid()) in BuildCXXForRangeStmt()
2273 if (FinishForRangeVarDecl(*this, EndVar, EndExpr.get(), ColonLoc, in BuildCXXForRangeStmt()
2275 NoteForRangeBeginEndFunction(*this, EndExpr.get(), BEF_end); in BuildCXXForRangeStmt()
2286 &BeginExpr, &EndExpr, &BEFFailure); in BuildCXXForRangeStmt()
[all …]
/external/llvm-project/clang/lib/Sema/
DSemaStmt.cpp2233 ExprResult *EndExpr, BeginEndFunction *BEF) { in BuildNonArrayForRange() argument
2278 EndRange, EndExpr); in BuildNonArrayForRange()
2285 if (FinishForRangeVarDecl(SemaRef, EndVar, EndExpr->get(), ColonLoc, in BuildNonArrayForRange()
2287 NoteForRangeBeginEndFunction(SemaRef, EndExpr->get(), *BEF); in BuildNonArrayForRange()
2475 ExprResult BeginExpr, EndExpr; in BuildCXXForRangeStmt() local
2558 EndExpr = ActOnBinOp(S, ColonLoc, tok::plus, EndRangeRef.get(), in BuildCXXForRangeStmt()
2560 if (EndExpr.isInvalid()) in BuildCXXForRangeStmt()
2562 if (FinishForRangeVarDecl(*this, EndVar, EndExpr.get(), ColonLoc, in BuildCXXForRangeStmt()
2564 NoteForRangeBeginEndFunction(*this, EndExpr.get(), BEF_end); in BuildCXXForRangeStmt()
2573 EndVar, ColonLoc, CoawaitLoc, &CandidateSet, &BeginExpr, &EndExpr, in BuildCXXForRangeStmt()
[all …]
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DLoopConvertCheck.cpp368 const Expr *EndExpr, in findContainer() argument
381 EndExpr, /*IsBegin=*/false, &EndIsArrow, IsReverse); in findContainer()