[PATCH] Option parsing: support case-insensitive option matching.

Reid Kleckner rnk at google.com
Tue Aug 27 10:12:28 PDT 2013


  As discussed in person, I really think this should go on the table.  We can always sort the table case insensitively (since it has the side effect of producing nicer help), and then just mark each OptTable as case sensitive or not.


================
Comment at: utils/TableGen/OptParserEmitter.cpp:14
@@ -13,2 +13,3 @@
 #include "llvm/ADT/Twine.h"
+#include "llvm/Option/OptTable.h"
 #include "llvm/TableGen/Record.h"
----------------
This creates a bit of a circular dependency, but other generators do it too.


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



More information about the llvm-commits mailing list