[PATCH] Introduce clang-query tool.

Samuel Benzaquen sbenza at google.com
Mon Nov 4 08:53:12 PST 2013



================
Comment at: clang-query/QueryParser.h:18
@@ +17,3 @@
+
+Query ParseQuery(const char *Line);
+
----------------
StringRef instead of const char*

================
Comment at: clang-query/QueryParser.cpp:22
@@ +21,3 @@
+
+static bool IsWhitespace(char C) {
+  return C == ' ' || C == '\t' || C == '\n' || C == '\r';
----------------
isWhitespace() from clang/Basic/CharInfo.h


http://llvm-reviews.chandlerc.com/D2098



More information about the cfe-commits mailing list