Option parsing: allow aliases in groups
authorHans Wennborg <hans@hanshq.net>
Mon, 22 Jul 2013 16:18:13 +0000 (16:18 +0000)
committerHans Wennborg <hans@hanshq.net>
Mon, 22 Jul 2013 16:18:13 +0000 (16:18 +0000)
commit6c7e78746e059916892f1df279b681d962a70954
treea75b151dd9ef8e34a4b176d442e7f9b378a38294
parent02265382929b0275d7b7b334eab5e2fd34e1b9fe
Option parsing: allow aliases in groups

Option aliases in option groups were previously disallowed by an assert.
As far as I can tell, there was no technical reason for this, and I would
like to be able to put cl.exe compatible options in their own group for Clang,
so let's change the assert.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186838 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Option/Option.cpp
unittests/Option/OptionParsingTest.cpp
unittests/Option/Opts.td