================
Comment at: include/clang/ASTMatchers/ASTMatchers.h:3669-3672
@@ +3668,6 @@
+/// f.
+template <typename Attr>
+inline internal::Matcher<Decl> hasAttr() {
+ return internal::HasAttrMatcher<Decl, Attr>();
+}
+
----------------
If we have this matcher, do the specialized ones still provide enough value? I
was expecting us to either go for the specialized ones, or provide a generic
one. Having both in the interface seems odd...
http://reviews.llvm.org/D4996
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits