[CommandLine] Enable Grouping for short options by default. Part 4 of 5
authorDon Hinton <hintonda@gmail.com>
Fri, 3 May 2019 18:56:25 +0000 (18:56 +0000)
committerDon Hinton <hintonda@gmail.com>
Fri, 3 May 2019 18:56:25 +0000 (18:56 +0000)
commitf6eac2dd3b3adec4ea9f31316282d11354cf2f4a
tree76d51b1ce597405e2c2a4215e84bb65962996789
parent83c95b1ec80df675d40b302fbd21e3c9da83f086
[CommandLine] Enable Grouping for short options by default.  Part 4 of 5

Summary:
This change enables `cl::Grouping` for short options --
options with names of a single character.  This is consistent with GNU
getopt behavior.

Reviewers: rnk, MaskRay

Reviewed By: MaskRay

Subscribers: thopre, cfe-commits, MaskRay, rupprecht, hiraditya, llvm-commits

Tags: #llvm, #clang

Differential Revision: https://reviews.llvm.org/D61270

llvm-svn: 359917
llvm/include/llvm/Support/CommandLine.h
llvm/lib/Support/CommandLine.cpp
llvm/test/tools/llvm-readobj/merged.test