Home
last modified time | relevance | path

Searched refs:ForRange (Results 1 – 13 of 13) sorted by relevance

/external/llvm-project/clang-tools-extra/clang-tidy/performance/
DForRangeCopyCheck.cpp67 const auto *ForRange = Result.Nodes.getNodeAs<CXXForRangeStmt>("forRange"); in check() local
68 handleCopyIsOnlyConstReferenced(*Var, *ForRange, *Result.Context); in check()
98 const VarDecl &LoopVar, const CXXForRangeStmt &ForRange, in handleCopyIsOnlyConstReferenced() argument
112 if (!ExprMutationAnalyzer(*ForRange.getBody(), Context).isMutated(&LoopVar) && in handleCopyIsOnlyConstReferenced()
113 !utils::decl_ref_expr::allDeclRefExprs(LoopVar, *ForRange.getBody(), in handleCopyIsOnlyConstReferenced()
DForRangeCopyCheck.h41 const CXXForRangeStmt &ForRange,
/external/llvm-project/clang-tools-extra/clang-tidy/utils/
DExprSequence.cpp142 } else if (const auto *ForRange = dyn_cast<CXXForRangeStmt>(Parent)) { in getSequenceSuccessor() local
146 if (S == ForRange->getLoopVarStmt()) in getSequenceSuccessor()
147 return ForRange->getBody(); in getSequenceSuccessor()
/external/llvm-project/clang-tools-extra/unittests/clang-tidy/
DReadabilityModuleTest.cpp308 TEST(BracesAroundStatementsCheckTest, ForRange) { in TEST() argument
/external/clang/lib/Parse/
DParseStmt.cpp1558 bool ForEach = false, ForRange = false; in ParseForStatement() local
1601 ForRange = true; in ParseForStatement()
1620 ForRange = true; in ParseForStatement()
1683 if (!ForEach && !ForRange && !SecondPart.isInvalid()) { in ParseForStatement()
1729 if (CoawaitLoc.isValid() && !ForRange) { in ParseForStatement()
1740 if (ForRange) { in ParseForStatement()
1800 if (ForRange) in ParseForStatement()
/external/llvm-project/lldb/unittests/Utility/
DStringListTest.cpp515 TEST(StringListTest, ForRange) { in TEST() argument
/external/vulkan-validation-layers/layers/
Dcore_validation_types.h563 …virtual bool ForRange(const VkImageSubresourceRange &range, const Callback &callback, bool skip_in…
694 …bool ForRange(const VkImageSubresourceRange &range, const Callback &callback, bool skip_invalid = …
Dbuffer_validation.cpp536 subresource_map->ForRange(view_state->normalized_subresource_range, subresource_cb); in VerifyFramebufferAndRenderPassLayouts()
836 subresource_map->ForRange(normalized_isr, subres_callback); in ValidateBarriersToImages()
1101 subresource_map->ForRange(range, subresource_cb); in VerifyImageLayout()
1700 subresource_map->ForRange(normalized_isr, subres_callback); in VerifyClearImageLayout()
/external/clang/unittests/ASTMatchers/
DASTMatchersNodeTest.cpp244 TEST(Matcher, ForRange) { in TEST() argument
/external/clang/lib/Sema/
DTreeTransform.h1941 StmtResult FinishCXXForRangeStmt(Stmt *ForRange, Stmt *Body) { in FinishCXXForRangeStmt() argument
1942 return getSema().FinishCXXForRangeStmt(ForRange, Body); in FinishCXXForRangeStmt()
/external/llvm-project/clang/lib/Sema/
DTreeTransform.h2296 StmtResult FinishCXXForRangeStmt(Stmt *ForRange, Stmt *Body) { in FinishCXXForRangeStmt() argument
2297 return getSema().FinishCXXForRangeStmt(ForRange, Body); in FinishCXXForRangeStmt()
/external/clang/include/clang/Sema/
DSema.h3457 StmtResult FinishCXXForRangeStmt(Stmt *ForRange, Stmt *Body);
/external/llvm-project/clang/include/clang/Sema/
DSema.h4583 StmtResult FinishCXXForRangeStmt(Stmt *ForRange, Stmt *Body);