[PATCH] Add loc() to the dynamic registry.
Samuel Benzaquen
sbenza at google.com
Mon Mar 10 06:55:18 PDT 2014
================
Comment at: include/clang/ASTMatchers/ASTMatchers.h:2829
@@ -2827,1 +2828,3 @@
+typedef internal::BindableMatcher<TypeLoc>(&loc_Type0)(
+ const internal::Matcher<QualType> &);
----------------
Manuel Klimek wrote:
> I'd vote for putting those into ASTMatchersInternal.h and into the internal namespace.
... maybe this should be defined with a macro like many other matchers.
That way you don't even see this quirk of the registration system.
I'll try that and ping you again.
http://llvm-reviews.chandlerc.com/D2928
BRANCH
loc
ARCANIST PROJECT
clang
More information about the cfe-commits
mailing list