Home
last modified time | relevance | path

Searched refs:ast_matchers (Results 1 – 25 of 40) sorted by relevance

12

/freebsd-11-stable/contrib/llvm-project/clang/include/clang/ASTMatchers/
HDASTMatchersMacros.h58 return ::clang::ast_matchers::internal::MemoizedMatcher< \
97 : public ::clang::ast_matchers::internal::MatcherInterface<Type> { \
101 ::clang::ast_matchers::internal::ASTMatchFinder *Finder, \
102 ::clang::ast_matchers::internal::BoundNodesTreeBuilder \
106 inline ::clang::ast_matchers::internal::Matcher<Type> DefineMatcher() { \
107 return ::clang::ast_matchers::internal::makeMatcher( \
112 ::clang::ast_matchers::internal::ASTMatchFinder *Finder, \
113 ::clang::ast_matchers::internal::BoundNodesTreeBuilder *Builder) const
135 : public ::clang::ast_matchers::internal::MatcherInterface<Type> { \
141 ::clang::ast_matchers::internal::ASTMatchFinder *Finder, \
[all …]
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Tooling/
HDRefactoringCallbacks.h40 class RefactoringCallback : public ast_matchers::MatchFinder::MatchCallback {
64 void addDynamicMatcher(const ast_matchers::internal::DynTypedMatcher &Matcher,
72 ast_matchers::MatchFinder MatchFinder;
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-11-stable/contrib/llvm-project/clang/include/clang/Tooling/Transformer/
HDRewriteRule.h108 ast_matchers::internal::DynTypedMatcher Matcher;
125 RewriteRule makeRule(ast_matchers::internal::DynTypedMatcher M,
130 inline RewriteRule makeRule(ast_matchers::internal::DynTypedMatcher M,
241 ast_matchers::internal::DynTypedMatcher buildMatcher(const RewriteRule &Rule);
248 std::vector<ast_matchers::internal::DynTypedMatcher>
255 getRuleMatchLoc(const ast_matchers::MatchFinder::MatchResult &Result);
260 findSelectedCase(const ast_matchers::MatchFinder::MatchResult &Result,
282 translateEdits(const ast_matchers::MatchFinder::MatchResult &Result,
HDMatchConsumer.h35 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()
HDTransformer.h23 class Transformer : public ast_matchers::MatchFinder::MatchCallback {
38 void registerMatchers(ast_matchers::MatchFinder *MatchFinder);
42 void run(const ast_matchers::MatchFinder::MatchResult &Result) override;
HDRangeSelector.h30 return [R](const ast_matchers::MatchFinder::MatchResult &) in charRange()
/freebsd-11-stable/contrib/llvm-project/clang/lib/Analysis/
HDExprMutationAnalyzer.cpp13 using namespace ast_matchers;
22 ast_matchers::internal::Matcher<DeclStmt>, InnerMatcher) { in AST_MATCHER_P()
28 ast_matchers::internal::Matcher<Expr>, InnerMatcher) { in AST_MATCHER_P()
39 const ast_matchers::internal::VariadicDynCastAllOfMatcher<Stmt, CXXTypeidExpr>
46 const ast_matchers::internal::VariadicDynCastAllOfMatcher<Stmt, CXXNoexceptExpr>
49 const ast_matchers::internal::VariadicDynCastAllOfMatcher<Stmt,
54 ast_matchers::internal::Matcher<Expr>, InnerMatcher) { in AST_MATCHER_P()
85 const Stmt *tryEachMatch(ArrayRef<ast_matchers::BoundNodes> Matches, in tryEachMatch()
194 ArrayRef<ast_matchers::BoundNodes> Matches) { in findExprPointeeMutation()
200 ArrayRef<ast_matchers::BoundNodes> Matches) { in findDeclPointeeMutation()
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Analysis/Analyses/
HDExprMutationAnalyzer.h53 const Stmt *findExprMutation(ArrayRef<ast_matchers::BoundNodes> Matches);
54 const Stmt *findDeclMutation(ArrayRef<ast_matchers::BoundNodes> Matches);
56 findExprPointeeMutation(ArrayRef<ast_matchers::BoundNodes> Matches);
58 findDeclPointeeMutation(ArrayRef<ast_matchers::BoundNodes> Matches);
/freebsd-11-stable/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/
HDMarshallers.h46 namespace ast_matchers {
73 template <class T> struct ArgTypeTraits<ast_matchers::internal::Matcher<T>> {
78 static ast_matchers::internal::Matcher<T> get(const VariantValue &Value) {
309 ast_matchers::internal::EmptyTypeList) {}
314 Out.push_back(ast_matchers::internal::Matcher<typename TypeList::head>(Poly));
348 buildReturnTypeVectorFromTypeList<ast_matchers::internal::EmptyTypeList>(
359 struct BuildReturnTypeVector<ast_matchers::internal::Matcher<T>> {
366 struct BuildReturnTypeVector<ast_matchers::internal::BindableMatcher<T>> {
425 ast_matchers::internal::VariadicFunction<ResultT, ArgT, F> Func,
466 ast_matchers::internal::VariadicDynCastAllOfMatcher<BaseT, DerivedT> Func,
[all …]
HDRegistry.cpp37 namespace ast_matchers { namespace
71 ::clang::ast_matchers::name, #name));
78 static_cast<::clang::ast_matchers::name##_Type##Id>( \
79 ::clang::ast_matchers::name)
/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/
HDRefactoringCallbacks.cpp32 const ast_matchers::internal::DynTypedMatcher &Matcher, in addDynamicMatcher()
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-11-stable/contrib/llvm-project/clang/include/clang/ASTMatchers/Dynamic/
HDVariantValue.h27 namespace ast_matchers {
77 using ast_matchers::internal::DynTypedMatcher;
199 ast_matchers::internal::Matcher<T> getTypedMatcher() const { in getTypedMatcher()
228 typedef ast_matchers::internal::Matcher<T> MatcherT;
HDRegistry.h29 namespace ast_matchers {
HDDiagnostics.h27 namespace ast_matchers {
HDParser.h49 namespace ast_matchers {
/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/Transformer/
HDRewriteRule.cpp26 using ast_matchers::MatchFinder;
27 using ast_matchers::internal::DynTypedMatcher;
71 llvm::Error eval(const ast_matchers::MatchFinder::MatchResult &, in eval()
HDTransformer.cpp21 using ast_matchers::MatchFinder;
HDRangeSelector.cpp25 using ast_matchers::MatchFinder;
55 static Expected<DynTypedNode> getNode(const ast_matchers::BoundNodes &Nodes, in getNode()
HDStencil.cpp28 using ast_matchers::MatchFinder;
36 getNode(const ast_matchers::BoundNodes &Nodes, StringRef Id) { in getNode()
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
HDOSObjectCStyleCast.cpp24 using namespace ast_matchers;
HDPointerIterationChecker.cpp21 using namespace ast_matchers;
HDPointerSortingChecker.cpp21 using namespace ast_matchers;
HDObjCAutoreleaseWriteChecker.cpp39 using namespace ast_matchers;
HDRunLoopAutoreleaseLeakChecker.cpp39 using namespace ast_matchers;
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
HDLoopWidening.cpp23 using namespace clang::ast_matchers;

12