summaryrefslogtreecommitdiffstats
path: root/clang/lib/ASTMatchers/ASTMatchFinder.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/ASTMatchers/ASTMatchFinder.cpp')
-rw-r--r--clang/lib/ASTMatchers/ASTMatchFinder.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/clang/lib/ASTMatchers/ASTMatchFinder.cpp b/clang/lib/ASTMatchers/ASTMatchFinder.cpp
index d8f058848dc..a68c7fdffe1 100644
--- a/clang/lib/ASTMatchers/ASTMatchFinder.cpp
+++ b/clang/lib/ASTMatchers/ASTMatchFinder.cpp
@@ -803,14 +803,6 @@ void MatchFinder::addMatcher(const TypeLocMatcher &NodeMatch,
new TypeLocMatcher(NodeMatch), Action));
}
-bool MatchFinder::addDynamicMatcher(const internal::DynTypedMatcher &NodeMatch,
- MatchCallback *Action) {
- MatcherCallbackPairs.push_back(std::make_pair(NodeMatch.clone(), Action));
- // TODO: Do runtime type checking to make sure the matcher is one of the valid
- // top-level matchers.
- return true;
-}
-
ASTConsumer *MatchFinder::newASTConsumer() {
return new internal::MatchASTConsumer(&MatcherCallbackPairs, ParsingDone);
}
OpenPOWER on IntegriCloud