[PATCH] D19425: driver: Add a `--rsp-quoting` flag to choose which unquoting behavior to use in rsp files.

Reid Kleckner via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 25 11:22:48 PDT 2016


rnk accepted this revision.
rnk added a comment.
This revision is now accepted and ready to land.

Looks good


================
Comment at: tools/driver/driver.cpp:350
@@ +349,3 @@
+  for (const char *F : argv) {
+    if (strcmp(F, "--rsp-quoting=posix") == 0)
+      RSPQuoting = POSIX;
----------------
Should we call it "posix" or "gnu"? The reference implementation we are trying to match is part of libiberty, which is why I called the tokenizer TokenizeGNUCommandLine.


http://reviews.llvm.org/D19425





More information about the cfe-commits mailing list