/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Tooling/Transformer/ |
H A D | Transformer.h | 23 class Transformer : public ast_matchers::MatchFinder::MatchCallback { 36 /// N.B. Passes `this` pointer to `MatchFinder`. So, this object should not 38 void registerMatchers(ast_matchers::MatchFinder *MatchFinder); 42 void run(const ast_matchers::MatchFinder::MatchResult &Result) override;
|
H A D | MatchConsumer.h | 10 /// match results, specifically the `ast_matchers::MatchFinder::MatchResult` 35 std::function<Expected<T>(const ast_matchers::MatchFinder::MatchResult &)>; 49 return [=](const ast_matchers::MatchFinder::MatchResult &Result) { 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 {
|
H A D | RewriteRule.h | 298 getRuleMatchLoc(const ast_matchers::MatchFinder::MatchResult &Result); 303 findSelectedCase(const ast_matchers::MatchFinder::MatchResult &Result,
|
H A D | RangeSelector.h | 30 return [R](const ast_matchers::MatchFinder::MatchResult &)
|
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Tooling/ |
H A D | RefactoringCallbacks.h | 18 // MatchFinder Finder; 40 class RefactoringCallback : public ast_matchers::MatchFinder::MatchCallback { 49 /// Adaptor between \c ast_matchers::MatchFinder and \c 60 MatchFinder.addMatcher(Matcher, Callback); 72 ast_matchers::MatchFinder MatchFinder; member in class:clang::tooling::ASTMatchRefactorer 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 [all...] |
/freebsd-13-stable/contrib/llvm-project/clang/lib/Tooling/Transformer/ |
H A D | Transformer.cpp | 22 using ast_matchers::MatchFinder; 24 void Transformer::registerMatchers(MatchFinder *MatchFinder) { argument 26 MatchFinder->addDynamicMatcher(Matcher, this); 29 void Transformer::run(const MatchFinder::MatchResult &Result) {
|
H A D | Stencil.cpp | 30 using ast_matchers::MatchFinder; 171 Error evalData(const RawTextData &Data, const MatchFinder::MatchResult &, 178 const MatchFinder::MatchResult &Match, std::string *Result) { 190 const MatchFinder::MatchResult &Match, std::string *Result) { 229 Error evalData(const SelectorData &Data, const MatchFinder::MatchResult &Match, 265 Error evalData(const AccessData &Data, const MatchFinder::MatchResult &Match, 285 Error evalData(const IfBoundData &Data, const MatchFinder::MatchResult &Match, 293 const MatchFinder::MatchResult &Match, std::string *Result) { 301 Error evalData(const SequenceData &Data, const MatchFinder::MatchResult &Match, 316 Error eval(const MatchFinder [all...] |
H A D | RewriteRule.cpp | 26 using ast_matchers::MatchFinder; 29 using MatchResult = MatchFinder::MatchResult; 82 llvm::Error eval(const ast_matchers::MatchFinder::MatchResult &,
|
H A D | RangeSelector.cpp | 25 using ast_matchers::MatchFinder; 29 using MatchResult = MatchFinder::MatchResult;
|
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/ASTMatchers/ |
H A D | ASTMatchFinder.h | 21 // class HandleMatch : public MatchFinder::MatchCallback { 23 // virtual void Run(const MatchFinder::MatchResult &Result) { 32 // MatchFinder finder; 54 /// After creation, you can add multiple matchers to the MatchFinder via 63 /// were added to the MatchFinder. 68 class MatchFinder { class in namespace:clang::ast_matchers 72 /// Every time a match is found, the MatchFinder will invoke the registered 95 /// Called on every match by the \c MatchFinder. 137 MatchFinder(MatchFinderOptions Options = MatchFinderOptions()); 138 ~MatchFinder(); [all...] |
/freebsd-13-stable/contrib/llvm-project/clang/lib/ASTMatchers/ |
H A D | ASTMatchFinder.cpp | 34 typedef MatchFinder::MatchCallback MatchCallback; 365 MatchASTVisitor(const MatchFinder::MatchersByType *Matchers, 366 const MatchFinder::MatchFinderOptions &Options) 809 MatchFinder::MatchCallback* Callback) 814 Callback->run(MatchFinder::MatchResult(BoundNodesView, Context)); 819 MatchFinder::MatchCallback* Callback; 863 const MatchFinder::MatchersByType *Matchers; 873 const MatchFinder::MatchFinderOptions &Options; 1040 MatchASTConsumer(MatchFinder *Finder, 1041 MatchFinder 1067 MatchFinder::MatchFinder(MatchFinderOptions Options) function in class:clang::ast_matchers::MatchFinder [all...] |
/freebsd-13-stable/contrib/llvm-project/clang/lib/Tooling/ |
H A D | RefactoringCallbacks.cpp | 34 MatchFinder.addDynamicMatcher(Matcher, Callback); 49 Refactoring.MatchFinder.matchAST(Context); 89 const ast_matchers::MatchFinder::MatchResult &Result) { 107 const ast_matchers::MatchFinder::MatchResult &Result) { 127 const ast_matchers::MatchFinder::MatchResult &Result) { 199 const ast_matchers::MatchFinder::MatchResult &Result) {
|
/freebsd-13-stable/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) { 338 MatchFinder F;
|