[PATCH] D8149: Extend hasType narrowing matcher for TypedefDecls, add functionProtoType matcher for FunctionProtoType nodes, extend parameterCountIs to FunctionProtoType nodes

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 25 08:12:38 PST 2016


aaron.ballman accepted this revision.
aaron.ballman added a comment.

LGTM with one addition, I still would like to see this test added and passing:

  EXPECT_TRUE(matchesC("void f();", functionDecl(parameterCountIs(0))));

Thank you for working on these!


http://reviews.llvm.org/D8149





More information about the cfe-commits mailing list