• Home
  • Raw
  • Download

Lines Matching refs:Matchers

379   MatchASTVisitor(const MatchFinder::MatchersByType *Matchers,  in MatchASTVisitor()  argument
381 : Matchers(Matchers), Options(Options), ActiveASTContext(nullptr) {} in MatchASTVisitor()
392 for (MatchCallback *MC : Matchers->AllCallbacks) { in onStartOfTranslationUnit()
402 for (MatchCallback *MC : Matchers->AllCallbacks) { in onEndOfTranslationUnit()
687 void matchWithoutFilter(const T &Node, const MC &Matchers) { in matchWithoutFilter() argument
690 for (const auto &MP : Matchers) { in matchWithoutFilter()
712 auto &Matchers = this->Matchers->DeclOrStmt; in matchWithFilter() local
714 auto &MP = Matchers[I]; in matchWithFilter()
727 auto &Matchers = this->Matchers->DeclOrStmt; in getFilterForKind() local
728 assert((Matchers.size() < USHRT_MAX) && "Too many matchers."); in getFilterForKind()
729 for (unsigned I = 0, E = Matchers.size(); I != E; ++I) { in getFilterForKind()
730 if (Matchers[I].first.canMatchNodesOfKind(Kind)) { in getFilterForKind()
747 matchWithoutFilter(QualType(Node, 0), Matchers->Type); in matchDispatch()
750 matchWithoutFilter(*Node, Matchers->TypeLoc); in matchDispatch()
753 matchWithoutFilter(*Node, Matchers->Type); in matchDispatch()
756 matchWithoutFilter(*Node, Matchers->NestedNameSpecifier); in matchDispatch()
759 matchWithoutFilter(*Node, Matchers->NestedNameSpecifierLoc); in matchDispatch()
762 matchWithoutFilter(*Node, Matchers->CtorInit); in matchDispatch()
765 matchWithoutFilter(*Node, Matchers->TemplateArgumentLoc); in matchDispatch()
958 const MatchFinder::MatchersByType *Matchers; member in clang::ast_matchers::internal::__anon637901cc0111::MatchASTVisitor
1204 Matchers.DeclOrStmt.emplace_back(NodeMatch, Action); in addMatcher()
1205 Matchers.AllCallbacks.insert(Action); in addMatcher()
1210 Matchers.Type.emplace_back(NodeMatch, Action); in addMatcher()
1211 Matchers.AllCallbacks.insert(Action); in addMatcher()
1216 Matchers.DeclOrStmt.emplace_back(NodeMatch, Action); in addMatcher()
1217 Matchers.AllCallbacks.insert(Action); in addMatcher()
1222 Matchers.NestedNameSpecifier.emplace_back(NodeMatch, Action); in addMatcher()
1223 Matchers.AllCallbacks.insert(Action); in addMatcher()
1228 Matchers.NestedNameSpecifierLoc.emplace_back(NodeMatch, Action); in addMatcher()
1229 Matchers.AllCallbacks.insert(Action); in addMatcher()
1234 Matchers.TypeLoc.emplace_back(NodeMatch, Action); in addMatcher()
1235 Matchers.AllCallbacks.insert(Action); in addMatcher()
1240 Matchers.CtorInit.emplace_back(NodeMatch, Action); in addMatcher()
1241 Matchers.AllCallbacks.insert(Action); in addMatcher()
1246 Matchers.TemplateArgumentLoc.emplace_back(NodeMatch, Action); in addMatcher()
1247 Matchers.AllCallbacks.insert(Action); in addMatcher()
1285 internal::MatchASTVisitor Visitor(&Matchers, Options); in match()
1291 internal::MatchASTVisitor Visitor(&Matchers, Options); in matchAST()