• Home
  • Raw
  • Download

Lines Matching refs:Matchers

296   MatchASTVisitor(const MatchFinder::MatchersByType *Matchers,  in MatchASTVisitor()  argument
298 : Matchers(Matchers), Options(Options), ActiveASTContext(nullptr) {} in MatchASTVisitor()
309 for (MatchCallback *MC : Matchers->AllCallbacks) { in onStartOfTranslationUnit()
319 for (MatchCallback *MC : Matchers->AllCallbacks) { in onEndOfTranslationUnit()
521 void matchWithoutFilter(const T &Node, const MC &Matchers) { in matchWithoutFilter() argument
524 for (const auto &MP : Matchers) { in matchWithoutFilter()
546 auto &Matchers = this->Matchers->DeclOrStmt; in matchWithFilter() local
548 auto &MP = Matchers[I]; in matchWithFilter()
562 auto &Matchers = this->Matchers->DeclOrStmt; in getFilterForKind() local
563 assert((Matchers.size() < USHRT_MAX) && "Too many matchers."); in getFilterForKind()
564 for (unsigned I = 0, E = Matchers.size(); I != E; ++I) { in getFilterForKind()
565 if (Matchers[I].first.canMatchNodesOfKind(Kind)) { in getFilterForKind()
582 matchWithoutFilter(QualType(Node, 0), Matchers->Type); in matchDispatch()
585 matchWithoutFilter(*Node, Matchers->TypeLoc); in matchDispatch()
588 matchWithoutFilter(*Node, Matchers->Type); in matchDispatch()
591 matchWithoutFilter(*Node, Matchers->NestedNameSpecifier); in matchDispatch()
594 matchWithoutFilter(*Node, Matchers->NestedNameSpecifierLoc); in matchDispatch()
734 const MatchFinder::MatchersByType *Matchers; member in clang::ast_matchers::internal::__anon018ced360111::MatchASTVisitor
903 Matchers.DeclOrStmt.emplace_back(NodeMatch, Action); in addMatcher()
904 Matchers.AllCallbacks.insert(Action); in addMatcher()
909 Matchers.Type.emplace_back(NodeMatch, Action); in addMatcher()
910 Matchers.AllCallbacks.insert(Action); in addMatcher()
915 Matchers.DeclOrStmt.emplace_back(NodeMatch, Action); in addMatcher()
916 Matchers.AllCallbacks.insert(Action); in addMatcher()
921 Matchers.NestedNameSpecifier.emplace_back(NodeMatch, Action); in addMatcher()
922 Matchers.AllCallbacks.insert(Action); in addMatcher()
927 Matchers.NestedNameSpecifierLoc.emplace_back(NodeMatch, Action); in addMatcher()
928 Matchers.AllCallbacks.insert(Action); in addMatcher()
933 Matchers.TypeLoc.emplace_back(NodeMatch, Action); in addMatcher()
934 Matchers.AllCallbacks.insert(Action); in addMatcher()
967 internal::MatchASTVisitor Visitor(&Matchers, Options); in match()
973 internal::MatchASTVisitor Visitor(&Matchers, Options); in matchAST()