Home
last modified time | relevance | path

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

12345

/dports/devel/llvm90/llvm-9.0.1.src/tools/clang/tools/extra/clang-tidy/performance/
H A DForRangeCopyCheck.cpp58 const auto *ForRange = Result.Nodes.getNodeAs<CXXForRangeStmt>("forRange"); in check() local
59 handleCopyIsOnlyConstReferenced(*Var, *ForRange, *Result.Context); in check()
86 const VarDecl &LoopVar, const CXXForRangeStmt &ForRange, in handleCopyIsOnlyConstReferenced() argument
100 if (!ExprMutationAnalyzer(*ForRange.getBody(), Context).isMutated(&LoopVar) && in handleCopyIsOnlyConstReferenced()
101 !utils::decl_ref_expr::allDeclRefExprs(LoopVar, *ForRange.getBody(), in handleCopyIsOnlyConstReferenced()
/dports/devel/llvm80/llvm-8.0.1.src/tools/clang/tools/extra/clang-tidy/performance/
H A DForRangeCopyCheck.cpp59 const auto *ForRange = Result.Nodes.getNodeAs<CXXForRangeStmt>("forRange"); in check() local
60 handleCopyIsOnlyConstReferenced(*Var, *ForRange, *Result.Context); in check()
87 const VarDecl &LoopVar, const CXXForRangeStmt &ForRange, in handleCopyIsOnlyConstReferenced() argument
101 if (!ExprMutationAnalyzer(*ForRange.getBody(), Context).isMutated(&LoopVar) && in handleCopyIsOnlyConstReferenced()
102 !utils::decl_ref_expr::allDeclRefExprs(LoopVar, *ForRange.getBody(), in handleCopyIsOnlyConstReferenced()
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/clang-tools-extra/clang-tidy/performance/
H A DForRangeCopyCheck.cpp59 const auto *ForRange = Result.Nodes.getNodeAs<CXXForRangeStmt>("forRange"); in check() local
60 handleCopyIsOnlyConstReferenced(*Var, *ForRange, *Result.Context); in check()
90 const VarDecl &LoopVar, const CXXForRangeStmt &ForRange, in handleCopyIsOnlyConstReferenced() argument
104 if (!ExprMutationAnalyzer(*ForRange.getBody(), Context).isMutated(&LoopVar) && in handleCopyIsOnlyConstReferenced()
105 !utils::decl_ref_expr::allDeclRefExprs(LoopVar, *ForRange.getBody(), in handleCopyIsOnlyConstReferenced()
/dports/devel/llvm10/llvm-10.0.1.src/tools/clang/tools/extra/clang-tidy/performance/
H A DForRangeCopyCheck.cpp59 const auto *ForRange = Result.Nodes.getNodeAs<CXXForRangeStmt>("forRange"); in check() local
60 handleCopyIsOnlyConstReferenced(*Var, *ForRange, *Result.Context); in check()
90 const VarDecl &LoopVar, const CXXForRangeStmt &ForRange, in handleCopyIsOnlyConstReferenced() argument
104 if (!ExprMutationAnalyzer(*ForRange.getBody(), Context).isMutated(&LoopVar) && in handleCopyIsOnlyConstReferenced()
105 !utils::decl_ref_expr::allDeclRefExprs(LoopVar, *ForRange.getBody(), in handleCopyIsOnlyConstReferenced()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/clang-tools-extra/clang-tidy/performance/
H A 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()
/dports/devel/llvm12/llvm-project-12.0.1.src/clang-tools-extra/clang-tidy/performance/
H A 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()
/dports/devel/llvm11/llvm-11.0.1.src/tools/clang/tools/extra/clang-tidy/performance/
H A 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()
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/clang-tools-extra/clang-tidy/performance/
H A 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()
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/clang-tools-extra/clang-tidy/performance/
H A 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()
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/clang-tools-extra/clang-tidy/performance/
H A DForRangeCopyCheck.cpp71 const auto *ForRange = Result.Nodes.getNodeAs<CXXForRangeStmt>("forRange"); in check() local
72 handleCopyIsOnlyConstReferenced(*Var, *ForRange, *Result.Context); in check()
102 const VarDecl &LoopVar, const CXXForRangeStmt &ForRange, in handleCopyIsOnlyConstReferenced() argument
116 if (!ExprMutationAnalyzer(*ForRange.getBody(), Context).isMutated(&LoopVar) && in handleCopyIsOnlyConstReferenced()
117 !utils::decl_ref_expr::allDeclRefExprs(LoopVar, *ForRange.getBody(), in handleCopyIsOnlyConstReferenced()
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/clang-tools-extra/clang-tidy/performance/
H A DForRangeCopyCheck.cpp71 const auto *ForRange = Result.Nodes.getNodeAs<CXXForRangeStmt>("forRange"); in check() local
72 handleCopyIsOnlyConstReferenced(*Var, *ForRange, *Result.Context); in check()
102 const VarDecl &LoopVar, const CXXForRangeStmt &ForRange, in handleCopyIsOnlyConstReferenced() argument
116 if (!ExprMutationAnalyzer(*ForRange.getBody(), Context).isMutated(&LoopVar) && in handleCopyIsOnlyConstReferenced()
117 !utils::decl_ref_expr::allDeclRefExprs(LoopVar, *ForRange.getBody(), in handleCopyIsOnlyConstReferenced()
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/clang-tools-extra/clang-tidy/performance/
H A DForRangeCopyCheck.cpp71 const auto *ForRange = Result.Nodes.getNodeAs<CXXForRangeStmt>("forRange"); in check() local
72 handleCopyIsOnlyConstReferenced(*Var, *ForRange, *Result.Context); in check()
102 const VarDecl &LoopVar, const CXXForRangeStmt &ForRange, in handleCopyIsOnlyConstReferenced() argument
116 if (!ExprMutationAnalyzer(*ForRange.getBody(), Context).isMutated(&LoopVar) && in handleCopyIsOnlyConstReferenced()
117 !utils::decl_ref_expr::allDeclRefExprs(LoopVar, *ForRange.getBody(), in handleCopyIsOnlyConstReferenced()
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/clang-tools-extra/clang-tidy/performance/
H A DForRangeCopyCheck.cpp71 const auto *ForRange = Result.Nodes.getNodeAs<CXXForRangeStmt>("forRange"); in check() local
72 handleCopyIsOnlyConstReferenced(*Var, *ForRange, *Result.Context); in check()
102 const VarDecl &LoopVar, const CXXForRangeStmt &ForRange, in handleCopyIsOnlyConstReferenced() argument
116 if (!ExprMutationAnalyzer(*ForRange.getBody(), Context).isMutated(&LoopVar) && in handleCopyIsOnlyConstReferenced()
117 !utils::decl_ref_expr::allDeclRefExprs(LoopVar, *ForRange.getBody(), in handleCopyIsOnlyConstReferenced()
/dports/devel/llvm13/llvm-project-13.0.1.src/clang-tools-extra/clang-tidy/performance/
H A DForRangeCopyCheck.cpp71 const auto *ForRange = Result.Nodes.getNodeAs<CXXForRangeStmt>("forRange"); in check() local
72 handleCopyIsOnlyConstReferenced(*Var, *ForRange, *Result.Context); in check()
102 const VarDecl &LoopVar, const CXXForRangeStmt &ForRange, in handleCopyIsOnlyConstReferenced() argument
116 if (!ExprMutationAnalyzer(*ForRange.getBody(), Context).isMutated(&LoopVar) && in handleCopyIsOnlyConstReferenced()
117 !utils::decl_ref_expr::allDeclRefExprs(LoopVar, *ForRange.getBody(), in handleCopyIsOnlyConstReferenced()
/dports/devel/llvm70/llvm-7.0.1.src/tools/clang/tools/extra/clang-tidy/performance/
H A DForRangeCopyCheck.cpp48 const auto *ForRange = Result.Nodes.getNodeAs<CXXForRangeStmt>("forRange");
49 handleCopyIsOnlyConstReferenced(*Var, *ForRange, *Result.Context);
76 const VarDecl &LoopVar, const CXXForRangeStmt &ForRange,
82 if (utils::ExprMutationAnalyzer(ForRange.getBody(), &Context)
/dports/devel/llvm70/llvm-7.0.1.src/tools/clang/tools/extra/clang-tidy/utils/
H A DExprSequence.cpp135 } else if (const auto *ForRange = dyn_cast<CXXForRangeStmt>(Parent)) { in getSequenceSuccessor() local
139 if (S == ForRange->getLoopVarStmt()) in getSequenceSuccessor()
140 return ForRange->getBody(); in getSequenceSuccessor()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/clang-tools-extra/clang-tidy/utils/
H A 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()
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/clang-tools-extra/clang-tidy/utils/
H A DExprSequence.cpp140 } else if (const auto *ForRange = dyn_cast<CXXForRangeStmt>(Parent)) { in getSequenceSuccessor() local
144 if (S == ForRange->getLoopVarStmt()) in getSequenceSuccessor()
145 return ForRange->getBody(); in getSequenceSuccessor()
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/clang-tools-extra/clang-tidy/utils/
H A DExprSequence.cpp141 } else if (const auto *ForRange = dyn_cast<CXXForRangeStmt>(Parent)) { in getSequenceSuccessor() local
145 if (S == ForRange->getLoopVarStmt()) in getSequenceSuccessor()
146 return ForRange->getBody(); in getSequenceSuccessor()
/dports/devel/llvm11/llvm-11.0.1.src/tools/clang/tools/extra/clang-tidy/utils/
H A 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()
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/clang-tools-extra/clang-tidy/utils/
H A 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()
/dports/devel/llvm90/llvm-9.0.1.src/tools/clang/tools/extra/clang-tidy/utils/
H A DExprSequence.cpp140 } else if (const auto *ForRange = dyn_cast<CXXForRangeStmt>(Parent)) { in getSequenceSuccessor() local
144 if (S == ForRange->getLoopVarStmt()) in getSequenceSuccessor()
145 return ForRange->getBody(); in getSequenceSuccessor()
/dports/devel/llvm10/llvm-10.0.1.src/tools/clang/tools/extra/clang-tidy/utils/
H A DExprSequence.cpp140 } else if (const auto *ForRange = dyn_cast<CXXForRangeStmt>(Parent)) { in getSequenceSuccessor() local
144 if (S == ForRange->getLoopVarStmt()) in getSequenceSuccessor()
145 return ForRange->getBody(); in getSequenceSuccessor()
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/clang-tools-extra/clang-tidy/utils/
H A DExprSequence.cpp141 } else if (const auto *ForRange = dyn_cast<CXXForRangeStmt>(Parent)) { in getSequenceSuccessor() local
145 if (S == ForRange->getLoopVarStmt()) in getSequenceSuccessor()
146 return ForRange->getBody(); in getSequenceSuccessor()
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/clang-tools-extra/clang-tidy/utils/
H A DExprSequence.cpp141 } else if (const auto *ForRange = dyn_cast<CXXForRangeStmt>(Parent)) { in getSequenceSuccessor() local
145 if (S == ForRange->getLoopVarStmt()) in getSequenceSuccessor()
146 return ForRange->getBody(); in getSequenceSuccessor()

12345