[PATCH] Support in hasDeclaration for types with getDecl()

Manuel Klimek klimek at google.com
Mon Feb 18 08:06:10 PST 2013


  LG


================
Comment at: unittests/ASTMatchers/ASTMatchersTest.cpp:815
@@ -814,3 +814,3 @@
 
 TEST(HasDeclaration, HasDeclarationOfEnumType) {
   EXPECT_TRUE(matches("enum X {}; void y(X *x) { x; }",
----------------
Seems like the test name doesn't fit the added test :) Can you either write a new test, or change this so it fits again?

Thanks!


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

BRANCH
  hasdecl

ARCANIST PROJECT
  clang



More information about the cfe-commits mailing list