Move the handling of CommaSeparated options into ProvideOption.
authorMikhail Glushenkov <foldr@codedgers.com>
Fri, 20 Nov 2009 17:23:17 +0000 (17:23 +0000)
committerMikhail Glushenkov <foldr@codedgers.com>
Fri, 20 Nov 2009 17:23:17 +0000 (17:23 +0000)
commit37628e009827420d56cdf9b26c5104abd726e53b
tree6c211b9b90feb58685ceac1960ed07ba83b05139
parent76700ba64c11c6d9a1fd44f437ec3ece15cd1fa5
Move the handling of CommaSeparated options into ProvideOption.

Makes '--comma-separated val1,val2' mean the same thing as
'--comma-separated=val1,val2' (that is, 'val1' and 'val2' are not lumped
together as 'val1,val2'). Also declutters the main loop a bit.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89463 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/CommandLine.cpp