[PATCH] Re-introduce MatchFinder::addDynamicMatcher.

Peter Collingbourne peter at pcc.me.uk
Thu Nov 7 13:22:28 PST 2013

Comment at: lib/ASTMatchers/ASTMatchFinder.cpp:819
@@ +818,3 @@
+    return true;
+  } else if (NodeMatch.canConvertTo<QualType>()) {
+    addMatcher(NodeMatch.convertTo<QualType>(), Action);
Manuel Klimek wrote:
> Does canConvertTo<QualType> return true for Type matchers? Otherwise I think we should add a case there...
Yes. There are a number of type matcher tests which are now also sent through this function.


More information about the cfe-commits mailing list