[PATCH] D59746: [CommandLineParser] Add DefaultOption flag

Don Hinton via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 11 06:08:38 PDT 2019


hintonda marked 2 inline comments as done.
hintonda added inline comments.


================
Comment at: llvm/lib/Support/CommandLine.cpp:282
     else {
-      for (auto SC : O->Subs)
-        updateArgStr(O, NewName, SC);
+      if (O->isInAllSubCommands()) {
+        for (auto SC : RegisteredSubCommands)
----------------
Will move this bug fix to its own patch and add test.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D59746/new/

https://reviews.llvm.org/D59746





More information about the cfe-commits mailing list