[PATCH] Add partial support for the hasDeclaration() matcher in the dynamic layer.

Manuel Klimek klimek at google.com
Thu Nov 14 08:17:09 PST 2013



================
Comment at: include/clang/ASTMatchers/ASTMatchers.h:1700-1702
@@ +1699,5 @@
+    internal::HasDeclarationMatcher, internal::Matcher<Decl>,
+    AST_POLYMORPHIC_SUPPORTED_TYPES_6(QualType, CallExpr, CXXConstructExpr,
+                                      MemberExpr, TypedefType,
+                                      TemplateSpecializationType),
+    internal::CTC_Disabled>
----------------
So why do we specify supported types at all, if they're not checked?


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

BRANCH
  has_decl

ARCANIST PROJECT
  clang



More information about the cfe-commits mailing list