[PATCH] Refactor "MatcherList" into "VariantMatcher" and abstract the notion of a list of matchers for the polymorphic case.

Manuel Klimek klimek at google.com
Tue Aug 13 01:01:59 PDT 2013


  LG


================
Comment at: include/clang/ASTMatchers/Dynamic/VariantValue.h:45
@@ +44,3 @@
+///  - hasTypedMatcher<T>()/getTypedMatcher<T>(): These calls will determine if
+///    the underlying matcher(s) can unambiguously return a Matcher<T>.
+class VariantMatcher {
----------------
Nice idea and great comment :)


http://llvm-reviews.chandlerc.com/D1365

BRANCH
  variant_value

ARCANIST PROJECT
  clang



More information about the cfe-commits mailing list