[PATCH] D21485: [cl] Teach cl to support the notion of sub commands (e.g. "git checkout <foo>")

Zachary Turner via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 27 13:00:05 PDT 2016


zturner updated this revision to Diff 62006.
zturner added a comment.

Sorry for the delay, I was out the second half of last week.  This takes all the previous suggestions into account, and adds unit tests to make sure that removing from `AllSubCommands` and `TopLevelSubCommand` works as expected.


http://reviews.llvm.org/D21485

Files:
  include/llvm/Support/CommandLine.h
  lib/Support/CommandLine.cpp
  unittests/Support/CommandLineTest.cpp
  unittests/Support/ProgramTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21485.62006.patch
Type: text/x-patch
Size: 43109 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160627/6ed7e374/attachment.bin>


More information about the llvm-commits mailing list