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

12

/freebsd-11-stable/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchersMacros.h20 // 'ast_matchers' namespace and hide the boilerplate.
28 // clang::ast_matchers::internal::Matcher<clang::ValueDecl>,
37 // namespace ast_matchers {
44 // } // namespace ast_matchers
58 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
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Tooling/Transformer/
H A DTransformer.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;
H A DMatchConsumer.h10 /// 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 DRewriteRule.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,
H A DRangeSelector.h30 return [R](const ast_matchers::MatchFinder::MatchResult &)
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Tooling/
H A DRefactoringCallbacks.h40 class RefactoringCallback : public ast_matchers::MatchFinder::MatchCallback {
49 /// Adaptor between \c ast_matchers::MatchFinder and \c
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/Analysis/Analyses/
H A DExprMutationAnalyzer.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/Tooling/
H A DRefactoringCallbacks.cpp32 const ast_matchers::internal::DynTypedMatcher &Matcher,
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-11-stable/contrib/llvm-project/clang/include/clang/ASTMatchers/Dynamic/
H A DRegistry.h29 namespace ast_matchers { namespace in namespace:clang
132 } // namespace ast_matchers
H A DVariantValue.h27 namespace ast_matchers { namespace in namespace:clang
77 using ast_matchers::internal::DynTypedMatcher;
199 ast_matchers::internal::Matcher<T> getTypedMatcher() const {
228 typedef ast_matchers::internal::Matcher<T> MatcherT;
345 } // end namespace ast_matchers
H A DDiagnostics.h27 namespace ast_matchers { namespace in namespace:clang
181 } // namespace ast_matchers
H A DParser.h49 namespace ast_matchers { namespace in namespace:clang
259 } // namespace ast_matchers
/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/Transformer/
H A DTransformer.cpp21 using ast_matchers::MatchFinder;
H A DRewriteRule.cpp26 using ast_matchers::MatchFinder;
27 using ast_matchers::internal::DynTypedMatcher;
71 llvm::Error eval(const ast_matchers::MatchFinder::MatchResult &,
H A DRangeSelector.cpp25 using ast_matchers::MatchFinder;
55 static Expected<DynTypedNode> getNode(const ast_matchers::BoundNodes &Nodes,
H A DStencil.cpp28 using ast_matchers::MatchFinder;
36 getNode(const ast_matchers::BoundNodes &Nodes, StringRef Id) {
/freebsd-11-stable/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/
H A DMarshallers.h46 namespace ast_matchers { namespace in namespace:clang
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
424 VariadicFuncMatcherDescriptor( ast_matchers::internal::VariadicFunction<ResultT, ArgT, F> Func, StringRef MatcherName) argument
465 DynCastAllOfMatcherDescriptor( ast_matchers::internal::VariadicDynCastAllOfMatcher<BaseT, DerivedT> Func, StringRef MatcherName) argument
766 makeMatcherAutoMarshall( ast_matchers::internal::VariadicFunction<ResultT, ArgT, Func> VarFunc, StringRef MatcherName) argument
777 makeMatcherAutoMarshall( ast_matchers::internal::VariadicDynCastAllOfMatcher<BaseT, DerivedT> VarFunc, StringRef MatcherName) argument
787 makeMatcherAutoMarshall( ast_matchers::internal::ArgumentAdaptingMatcherFunc<ArgumentAdapterT, FromTypes, ToTypes>, StringRef MatcherName) argument
809 makeMatcherAutoMarshall( ast_matchers::internal::VariadicOperatorMatcherFunc<MinCount, MaxCount> Func, StringRef MatcherName) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/Analysis/
H A DExprMutationAnalyzer.cpp13 using namespace ast_matchers;
22 ast_matchers::internal::Matcher<DeclStmt>, InnerMatcher) {
28 ast_matchers::internal::Matcher<Expr>, InnerMatcher) {
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) {
85 const Stmt *tryEachMatch(ArrayRef<ast_matchers::BoundNodes> Matches,
194 ArrayRef<ast_matchers::BoundNodes> Matches) {
200 ArrayRef<ast_matchers
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DOSObjectCStyleCast.cpp24 using namespace ast_matchers;
H A DPointerIterationChecker.cpp21 using namespace ast_matchers;
H A DPointerSortingChecker.cpp21 using namespace ast_matchers;
H A DGCDAntipatternChecker.cpp41 using namespace ast_matchers;
H A DObjCAutoreleaseWriteChecker.cpp39 using namespace ast_matchers;
H A DRunLoopAutoreleaseLeakChecker.cpp39 using namespace ast_matchers;
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DLoopWidening.cpp23 using namespace clang::ast_matchers;

Completed in 123 milliseconds

12