Searched refs:ExprMutationAnalyzer (Results 1 – 13 of 13) sorted by relevance
| /llvm-project-15.0.7/clang/lib/Analysis/ |
| H A D | ExprMutationAnalyzer.cpp | 136 ExprMutationAnalyzer *Analyzer, F Finder) { in tryEachMatch() 147 const Stmt *ExprMutationAnalyzer::findMutation(const Expr *Exp) { in findMutation() 152 &ExprMutationAnalyzer::findCastMutation, in findMutation() 159 const Stmt *ExprMutationAnalyzer::findMutation(const Decl *Dec) { in findMutation() 160 return tryEachDeclRef(Dec, &ExprMutationAnalyzer::findMutation); in findMutation() 171 const Stmt *ExprMutationAnalyzer::findMutationMemoized( in findMutationMemoized() 189 const Stmt *ExprMutationAnalyzer::tryEachDeclRef(const Decl *Dec, in tryEachDeclRef() 234 bool ExprMutationAnalyzer::isUnevaluated(const Expr *Exp) { in isUnevaluated() 248 const Stmt *ExprMutationAnalyzer::findExprPointeeMutation( in findExprPointeeMutation() 254 const Stmt *ExprMutationAnalyzer::findDeclPointeeMutation( in findDeclPointeeMutation() [all …]
|
| H A D | CMakeLists.txt | 20 ExprMutationAnalyzer.cpp
|
| /llvm-project-15.0.7/clang/include/clang/Analysis/Analyses/ |
| H A D | ExprMutationAnalyzer.h | 23 class ExprMutationAnalyzer { 25 ExprMutationAnalyzer(const Stmt &Stm, ASTContext &Context) in ExprMutationAnalyzer() function 45 using MutationFinder = const Stmt *(ExprMutationAnalyzer::*)(const Expr *); 91 ExprMutationAnalyzer BodyAnalyzer;
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/ |
| H A D | InfiniteLoopCheck.cpp | 35 ExprMutationAnalyzer(*ForLoop->getInc(), *Context) in isChanged() 38 ExprMutationAnalyzer(*ForLoop->getBody(), *Context) in isChanged() 41 ExprMutationAnalyzer(*ForLoop->getCond(), *Context).isMutated(Var)); in isChanged() 43 return ExprMutationAnalyzer(*LoopStmt, *Context).isMutated(Var); in isChanged() 180 if (ExprMutationAnalyzer::isUnevaluated(LoopStmt, *LoopStmt, *Result.Context)) in check()
|
| H A D | RedundantBranchConditionCheck.cpp | 35 ExprMutationAnalyzer MutAn(*S, *Context); in isChangedBefore()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/ |
| H A D | ConstCorrectnessCheck.h | 40 using MutationAnalyzer = std::unique_ptr<ExprMutationAnalyzer>;
|
| H A D | ConstCorrectnessCheck.cpp | 207 Analyzer = std::make_unique<ExprMutationAnalyzer>(*LocalScope, *Context); in registerScope()
|
| /llvm-project-15.0.7/llvm/utils/gn/secondary/clang/lib/Analysis/ |
| H A D | BUILD.gn | 26 "ExprMutationAnalyzer.cpp",
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/ |
| H A D | UseAnyOfAllOfCheck.cpp | 76 ExprMutationAnalyzer Mutations(*S.getBody(), Context); in isViableLoop()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/performance/ |
| H A D | ForRangeCopyCheck.cpp | 116 if (!ExprMutationAnalyzer(*ForRange.getBody(), Context).isMutated(&LoopVar) && in handleCopyIsOnlyConstReferenced()
|
| /llvm-project-15.0.7/clang/include/clang/ |
| H A D | module.modulemap | 13 exclude header "Analysis/Analyses/ExprMutationAnalyzer.h"
|
| /llvm-project-15.0.7/clang/unittests/Analysis/ |
| H A D | ExprMutationAnalyzerTest.cpp | 57 return ExprMutationAnalyzer(*S, AST->getASTContext()).isMutated(E); in isMutated() 64 ExprMutationAnalyzer Analyzer(*S, AST->getASTContext()); in mutatedBy()
|
| /llvm-project-15.0.7/clang/docs/tools/ |
| H A D | clang-formatted-files.txt | 125 clang/include/clang/Analysis/Analyses/ExprMutationAnalyzer.h
|