[PATCH] D62105: [CommandLine] Remove OptionCategory and SubCommand caches from the Option class.

serge via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 17 09:39:49 PDT 2019


serge-sans-paille added inline comments.


================
Comment at: llvm/include/llvm/Support/CommandLine.h:1797
+  // Fixes CommandLineTest.AliaswithSubCommand.
+  void addArgument(SubCommand &SC) {}
+
----------------
hintonda wrote:
> Will fix this and related methods by making them virtual and adding asserts saying the operation isn't allowed/doesn't make sense in a separate patch.
Why do you want to do that in a separate patch?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D62105





More information about the llvm-commits mailing list