| /freebsd/contrib/llvm-project/clang/include/clang/Tooling/ |
| H A D | RefactoringCallbacks.h | 40 class RefactoringCallback : public ast_matchers::MatchFinder::MatchCallback { 60 MatchFinder.addMatcher(Matcher, Callback); in addMatcher() 72 ast_matchers::MatchFinder MatchFinder; variable 81 void run(const ast_matchers::MatchFinder::MatchResult &Result) override; 98 void run(const ast_matchers::MatchFinder::MatchResult &Result) override; 116 void run(const ast_matchers::MatchFinder::MatchResult &Result) override; 129 void run(const ast_matchers::MatchFinder::MatchResult &Result) override;
|
| /freebsd/contrib/llvm-project/clang/lib/Tooling/Transformer/ |
| H A D | Transformer.cpp | 21 using ::clang::ast_matchers::MatchFinder; 26 const ast_matchers::MatchFinder::MatchResult &Result) { in onMatch() 36 const MatchFinder::MatchResult &Result) { in convertToAtomicChanges() 70 void Transformer::registerMatchers(MatchFinder *MatchFinder) { in registerMatchers() argument 72 MatchFinder->addDynamicMatcher(Matcher, this); in registerMatchers() 75 void Transformer::run(const MatchFinder::MatchResult &Result) { in run()
|
| H A D | Stencil.cpp | 29 using ast_matchers::MatchFinder; 45 static Error printNode(StringRef Id, const MatchFinder::MatchResult &Match, in printNode() 80 Error eval(const MatchFinder::MatchResult &Match, in eval() 98 Error eval(const MatchFinder::MatchResult &Match, in eval() 148 Error eval(const MatchFinder::MatchResult &Match, in eval() 225 Error eval(const MatchFinder::MatchResult &Match, in eval() 279 Error eval(const MatchFinder::MatchResult &Match, in eval() 311 Error eval(const MatchFinder::MatchResult &Match, in eval() 337 llvm::Error eval(const MatchFinder::MatchResult &match, in eval() 401 Error eval(const MatchFinder::MatchResult &Match, in eval() [all …]
|
| H A D | RewriteRule.cpp | 26 using ast_matchers::MatchFinder; 29 using MatchResult = MatchFinder::MatchResult; 146 llvm::Error eval(const ast_matchers::MatchFinder::MatchResult &, in eval() 267 class ApplyRuleCallback : public MatchFinder::MatchCallback { 273 MatchFinder *MF) { in registerMatchers() 278 void run(const MatchFinder::MatchResult &Result) override { in run() 302 MatchFinder Finder; in rewriteDescendantsImpl()
|
| H A D | RangeSelector.cpp | 25 using ast_matchers::MatchFinder; 29 using MatchResult = MatchFinder::MatchResult;
|
| /freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/Models/ |
| H A D | UncheckedOptionalAccessModel.cpp | 454 const MatchFinder::MatchResult &, in transferMakeOptionalCall() 461 const MatchFinder::MatchResult &, in transferOptionalHasValueCall() 470 const MatchFinder::MatchResult &, in transferOptionalIsNullCall() 481 const clang::Expr *ValueOrPredExpr, const MatchFinder::MatchResult &Result, in transferValueOrImpl() 500 const MatchFinder::MatchResult &Result, in transferValueOrStringEmptyCall() 518 const MatchFinder::MatchResult &Result, in transferValueOrNotEqX() 532 const MatchFinder::MatchResult &Result, in transferCallReturningOptional() 556 const MatchFinder::MatchResult &Result, in handleConstMemberCall() 615 const MatchFinder::MatchResult &Result, LatticeTransferState &State) { in handleConstMemberCallWithFallbacks() 625 const MatchFinder::MatchResult &Result, in transferConstMemberCall() [all …]
|
| /freebsd/contrib/llvm-project/clang/include/clang/Tooling/Transformer/ |
| H A D | Transformer.h | 29 void onMatch(const ast_matchers::MatchFinder::MatchResult &Result); 39 const ast_matchers::MatchFinder::MatchResult &Result); 43 onMatchImpl(const ast_matchers::MatchFinder::MatchResult &Result) = 0; 58 class Transformer : public ast_matchers::MatchFinder::MatchCallback { 99 void registerMatchers(ast_matchers::MatchFinder *MatchFinder); 103 void run(const ast_matchers::MatchFinder::MatchResult &Result) override; 116 const ast_matchers::MatchFinder::MatchResult &Match, 156 void onMatchImpl(const ast_matchers::MatchFinder::MatchResult &Result) final {
|
| H A D | MatchConsumer.h | 35 std::function<Expected<T>(const ast_matchers::MatchFinder::MatchResult &)>; 49 return [=](const ast_matchers::MatchFinder::MatchResult &Result) { in ifBound() 72 virtual llvm::Error eval(const ast_matchers::MatchFinder::MatchResult &Match, 77 llvm::Expected<T> eval(const ast_matchers::MatchFinder::MatchResult &R) const; 95 const ast_matchers::MatchFinder::MatchResult &R) const { in eval()
|
| H A D | RewriteRule.h | 114 AnyGenerator Metadata = [](const ast_matchers::MatchFinder::MatchResult &) 247 const ast_matchers::MatchFinder::MatchResult &R) -> llvm::Any { in withMetadata() 494 const ast_matchers::MatchFinder::MatchResult &Result); 498 const ast_matchers::MatchFinder::MatchResult &Result); 502 const ast_matchers::MatchFinder::MatchResult &Result); 506 const ast_matchers::MatchFinder::MatchResult &Result); 530 getRuleMatchLoc(const ast_matchers::MatchFinder::MatchResult &Result); 534 size_t findSelectedCase(const ast_matchers::MatchFinder::MatchResult &Result,
|
| H A D | RangeSelector.h | 30 return [R](const ast_matchers::MatchFinder::MatchResult &) in charRange()
|
| /freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchFinder.h | 69 class MatchFinder { 144 MatchFinder(MatchFinderOptions Options = MatchFinderOptions()); 145 ~MatchFinder(); 287 class CollectMatchesCallback : public MatchFinder::MatchCallback { 289 void run(const MatchFinder::MatchResult &Result) override { in run() 305 MatchFinder Finder; in match() 321 MatchFinder Finder; in match() 331 MatchFinder Finder; in matchDynamic() 347 MatchFinder Finder; in matchDynamic()
|
| /freebsd/contrib/llvm-project/clang/lib/ASTMatchers/ |
| H A D | ASTMatchFinder.cpp | 37 typedef MatchFinder::MatchCallback MatchCallback; 424 MatchASTVisitor(const MatchFinder::MatchersByType *Matchers, in MatchASTVisitor() 425 const MatchFinder::MatchFinderOptions &Options) in MatchASTVisitor() 1267 MatchFinder::MatchCallback *Callback) in MatchVisitor() 1273 Callback->run(MatchFinder::MatchResult(BoundNodesView, Context)); in visitMatch() 1279 MatchFinder::MatchCallback* Callback; 1344 const MatchFinder::MatchersByType *Matchers; 1354 const MatchFinder::MatchFinderOptions &Options; 1576 MatchASTConsumer(MatchFinder *Finder, in MatchASTConsumer() 1577 MatchFinder::ParsingDoneTestCallback *ParsingDone) in MatchASTConsumer() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/Tooling/ |
| H A D | RefactoringCallbacks.cpp | 34 MatchFinder.addDynamicMatcher(Matcher, Callback); in addDynamicMatcher() 49 Refactoring.MatchFinder.matchAST(Context); in HandleTranslationUnit() 89 const ast_matchers::MatchFinder::MatchResult &Result) { in run() 107 const ast_matchers::MatchFinder::MatchResult &Result) { in run() 127 const ast_matchers::MatchFinder::MatchResult &Result) { in run() 199 const ast_matchers::MatchFinder::MatchResult &Result) { in run()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | NumberObjectConversionChecker.cpp | 51 class Callback : public MatchFinder::MatchCallback { 60 void run(const MatchFinder::MatchResult &Result) override; 64 void Callback::run(const MatchFinder::MatchResult &Result) { in run() 337 MatchFinder F; in checkASTCodeBody()
|