Lines Matching refs:NodeMatch
901 void MatchFinder::addMatcher(const DeclarationMatcher &NodeMatch, in addMatcher() argument
903 Matchers.DeclOrStmt.emplace_back(NodeMatch, Action); in addMatcher()
907 void MatchFinder::addMatcher(const TypeMatcher &NodeMatch, in addMatcher() argument
909 Matchers.Type.emplace_back(NodeMatch, Action); in addMatcher()
913 void MatchFinder::addMatcher(const StatementMatcher &NodeMatch, in addMatcher() argument
915 Matchers.DeclOrStmt.emplace_back(NodeMatch, Action); in addMatcher()
919 void MatchFinder::addMatcher(const NestedNameSpecifierMatcher &NodeMatch, in addMatcher() argument
921 Matchers.NestedNameSpecifier.emplace_back(NodeMatch, Action); in addMatcher()
925 void MatchFinder::addMatcher(const NestedNameSpecifierLocMatcher &NodeMatch, in addMatcher() argument
927 Matchers.NestedNameSpecifierLoc.emplace_back(NodeMatch, Action); in addMatcher()
931 void MatchFinder::addMatcher(const TypeLocMatcher &NodeMatch, in addMatcher() argument
933 Matchers.TypeLoc.emplace_back(NodeMatch, Action); in addMatcher()
937 bool MatchFinder::addDynamicMatcher(const internal::DynTypedMatcher &NodeMatch, in addDynamicMatcher() argument
939 if (NodeMatch.canConvertTo<Decl>()) { in addDynamicMatcher()
940 addMatcher(NodeMatch.convertTo<Decl>(), Action); in addDynamicMatcher()
942 } else if (NodeMatch.canConvertTo<QualType>()) { in addDynamicMatcher()
943 addMatcher(NodeMatch.convertTo<QualType>(), Action); in addDynamicMatcher()
945 } else if (NodeMatch.canConvertTo<Stmt>()) { in addDynamicMatcher()
946 addMatcher(NodeMatch.convertTo<Stmt>(), Action); in addDynamicMatcher()
948 } else if (NodeMatch.canConvertTo<NestedNameSpecifier>()) { in addDynamicMatcher()
949 addMatcher(NodeMatch.convertTo<NestedNameSpecifier>(), Action); in addDynamicMatcher()
951 } else if (NodeMatch.canConvertTo<NestedNameSpecifierLoc>()) { in addDynamicMatcher()
952 addMatcher(NodeMatch.convertTo<NestedNameSpecifierLoc>(), Action); in addDynamicMatcher()
954 } else if (NodeMatch.canConvertTo<TypeLoc>()) { in addDynamicMatcher()
955 addMatcher(NodeMatch.convertTo<TypeLoc>(), Action); in addDynamicMatcher()