aaron.ballman added a subscriber: aaron.ballman. aaron.ballman added a reviewer: aaron.ballman. aaron.ballman added a comment.
If we're going to add this (which I think is a good idea), perhaps we should also add `typeAliasDecl()` at the same time? ================ Comment at: unittests/ASTMatchers/ASTMatchersTest.cpp:5417 @@ -5406,3 +5416,3 @@ -TEST(TypeDefDeclMatcher, Match) { +TEST(TypedefDeclMatcher, Match) { EXPECT_TRUE(matches("typedef int typedefDeclTest;", ---------------- Can you add a test that ensures the typedef decl matcher does not match a type alias (and vice versa)? http://reviews.llvm.org/D19113 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits