[PATCH] [ASTMatchers] Allow isImplicit on all Decls.

Peter Collingbourne peter at pcc.me.uk
Thu May 15 11:05:12 PDT 2014


================
Comment at: unittests/ASTMatchers/ASTMatchersTest.cpp:1776
@@ -1775,1 +1775,3 @@
                       constructorDecl(unless(isImplicit()))));
+  // The compiler added the implicit default destructor.
+  EXPECT_TRUE(matches("struct A { int x; } a = {0}, b = a; void f() { a = b; }",
----------------
This comment does not match what you are testing for.

http://reviews.llvm.org/D3775






More information about the cfe-commits mailing list