[PATCH] Options: Add new option kind that consumes remaining arguments

Reid Kleckner rnk at google.com
Tue Aug 13 13:57:01 PDT 2013


  LGTM


================
Comment at: lib/Option/OptTable.cpp:264
@@ -262,2 +263,3 @@
+    // option to handle this explicitly instead.
     if (Str == "--") {
       // Everything after -- is a filename.
----------------
I actually kind of liked having this logic here so we shared it with clang and lld, but I guess it's cleaner to let the tool decide what to do with the arguments after --.


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



More information about the llvm-commits mailing list