[PATCH] CommandLineArgumentParser: handle single quotes.

Manuel Klimek klimek at google.com
Fri Mar 1 00:26:13 PST 2013


  Why do we need this? I left that out by design. I'm open to arguments, though :)

  If we decide we need this, I'd want us to handle escaping of ticks.


================
Comment at: lib/Tooling/JSONCompilationDatabase.cpp:75
@@ +74,3 @@
+    while (*Position != '\'') {
+      String.push_back(*Position);
+      if (!next()) return false;
----------------
What about escaped ticks?


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



More information about the cfe-commits mailing list