[PATCH] Special case 0 and 1 matcher in makeAllOfComposite().

Manuel Klimek klimek at google.com
Thu Oct 9 02:31:23 PDT 2014


lg

================
Comment at: include/clang/ASTMatchers/ASTMatchersInternal.h:450
@@ -436,2 +449,3 @@
   template <typename U> friend class Matcher;
+  friend class DynTypedMatcher;
 
----------------
What is this needed for? I'd prefer if we could get rid of it, but if not, it should have a comment explaining it (so we can take it out if we don't need it any more).

http://reviews.llvm.org/D5675






More information about the cfe-commits mailing list