sbenza added a comment. Those tests are testing the code completion you get in clang-query. The type list must match what that matcher supports.
`hasParent` is declared as const internal::ArgumentAdaptingMatcherFunc< internal::HasParentMatcher, internal::TypeList<Decl, NestedNameSpecifierLoc, Stmt, TypeLoc>, internal::TypeList<Decl, NestedNameSpecifierLoc, Stmt, TypeLoc>> LLVM_ATTRIBUTE_UNUSED hasParent = {}; so the completion message is correct now. ================ Comment at: unittests/AST/ASTTypeTraitsTest.cpp:118 @@ +117,3 @@ + VERIFY_NAME(NestedNameSpecifier); + VERIFY_NAME(Decl); + VERIFY_NAME(Stmt); ---------------- Add a derived Decl type too. You added one for Stmt and Type, but not for Decl. http://reviews.llvm.org/D19059 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits