[PATCH] Add isSpecific matcher for builtin types.
Manuel Klimek
klimek at google.com
Wed Feb 19 00:45:45 PST 2014
================
Comment at: include/clang/ASTMatchers/ASTMatchers.h:2917
@@ +2916,3 @@
+/// matches "float b"
+AST_MATCHER_P(BuiltinType, isSpecific, std::string, Name) {
+ PrintingPolicy PP((LangOptions()));
----------------
a specific reason that "asString" doesn't already support your use case? (perhaps with adding an "isBuiltin" matcher)
http://llvm-reviews.chandlerc.com/D2823
More information about the cfe-commits
mailing list