[all-commits] [llvm/llvm-project] fb7fe4: [CommandLine][NFCI] Do not add 'All' to 'Registere...

Igor Kudrin via All-commits all-commits at lists.llvm.org
Wed Jan 10 12:45:27 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fb7fe49960ae053c92985f3376d85a15bbd10d1a
      https://github.com/llvm/llvm-project/commit/fb7fe49960ae053c92985f3376d85a15bbd10d1a
  Author: Igor Kudrin <ikudrin at accesssoftek.com>
  Date:   2024-01-11 (Thu, 11 Jan 2024)

  Changed paths:
    M llvm/lib/Support/CommandLine.cpp

  Log Message:
  -----------
  [CommandLine][NFCI] Do not add 'All' to 'RegisteredSubCommands' (#77041)

After #75679, it is no longer necessary to add the `All` pseudo
subcommand to the list of registered subcommands. The change causes the
list to contain only real subcommands, i.e. an unnamed top-level
subcommand and named ones. This simplifies the code a bit by removing
some checks for this special case.




More information about the All-commits mailing list