[PATCH] ASTMatcher for Attr

Manuel Klimek klimek at google.com
Thu Aug 21 09:21:28 PDT 2014


================
Comment at: lib/ASTMatchers/Dynamic/Registry.cpp:185-187
@@ -184,5 +185,2 @@
   REGISTER_MATCHER(hasConditionVariableStatement);
-  REGISTER_MATCHER(hasCudaDeviceAttr);
-  REGISTER_MATCHER(hasCudaGlobalAttr);
-  REGISTER_MATCHER(hasCudaHostAttr);
   REGISTER_MATCHER(hasDeclContext);
----------------
And now that I see how this affects the dynamic matchers, I wonder how we're going to fix that up - that is, we'll need to teach the dynamic matchers to understand the possible clang attributes somehow.

http://reviews.llvm.org/D4996






More information about the cfe-commits mailing list