Home
last modified time | relevance | path

Searched refs:NodeMatch (Results 1 – 5 of 5) sorted by relevance

/external/clang/lib/ASTMatchers/
DASTMatchFinder.cpp913 void MatchFinder::addMatcher(const DeclarationMatcher &NodeMatch, in addMatcher() argument
915 Matchers.DeclOrStmt.push_back(std::make_pair(NodeMatch, Action)); in addMatcher()
919 void MatchFinder::addMatcher(const TypeMatcher &NodeMatch, in addMatcher() argument
921 Matchers.Type.push_back(std::make_pair(NodeMatch, Action)); in addMatcher()
925 void MatchFinder::addMatcher(const StatementMatcher &NodeMatch, in addMatcher() argument
927 Matchers.DeclOrStmt.push_back(std::make_pair(NodeMatch, Action)); in addMatcher()
931 void MatchFinder::addMatcher(const NestedNameSpecifierMatcher &NodeMatch, in addMatcher() argument
933 Matchers.NestedNameSpecifier.push_back(std::make_pair(NodeMatch, Action)); in addMatcher()
937 void MatchFinder::addMatcher(const NestedNameSpecifierLocMatcher &NodeMatch, in addMatcher() argument
939 Matchers.NestedNameSpecifierLoc.push_back(std::make_pair(NodeMatch, Action)); in addMatcher()
[all …]
/external/clang/include/clang/ASTMatchers/
DASTMatchFinder.h148 void addMatcher(const DeclarationMatcher &NodeMatch,
150 void addMatcher(const TypeMatcher &NodeMatch,
152 void addMatcher(const StatementMatcher &NodeMatch,
154 void addMatcher(const NestedNameSpecifierMatcher &NodeMatch,
156 void addMatcher(const NestedNameSpecifierLocMatcher &NodeMatch,
158 void addMatcher(const TypeLocMatcher &NodeMatch,
170 bool addDynamicMatcher(const internal::DynTypedMatcher &NodeMatch,
/external/clang/unittests/AST/
DStmtPrinterTest.cpp71 const T &NodeMatch, StringRef ExpectedPrinted) { in PrintedStmtMatches() argument
75 Finder.addMatcher(NodeMatch, &Printer); in PrintedStmtMatches()
101 PrintedStmtCXX98Matches(StringRef Code, const StatementMatcher &NodeMatch, in PrintedStmtCXX98Matches() argument
106 return PrintedStmtMatches(Code, Args, NodeMatch, ExpectedPrinted); in PrintedStmtCXX98Matches()
124 PrintedStmtCXX11Matches(StringRef Code, const StatementMatcher &NodeMatch, in PrintedStmtCXX11Matches() argument
129 return PrintedStmtMatches(Code, Args, NodeMatch, ExpectedPrinted); in PrintedStmtCXX11Matches()
DDeclPrinterTest.cpp71 const DeclarationMatcher &NodeMatch, in PrintedDeclMatches() argument
76 Finder.addMatcher(NodeMatch, &Printer); in PrintedDeclMatches()
114 const DeclarationMatcher &NodeMatch, in PrintedDeclCXX98Matches() argument
119 NodeMatch, in PrintedDeclCXX98Matches()
137 const DeclarationMatcher &NodeMatch, in PrintedDeclCXX11Matches() argument
142 NodeMatch, in PrintedDeclCXX11Matches()
149 const DeclarationMatcher &NodeMatch, in PrintedDeclCXX11nonMSCMatches() argument
155 NodeMatch, in PrintedDeclCXX11nonMSCMatches()
162 const DeclarationMatcher &NodeMatch, in PrintedDeclObjCMatches() argument
167 NodeMatch, in PrintedDeclObjCMatches()
DNamedDeclPrinterTest.cpp66 const DeclarationMatcher &NodeMatch, in PrintedNamedDeclMatches() argument
70 Finder.addMatcher(NodeMatch, &Printer); in PrintedNamedDeclMatches()