Several changes together in a murky mess:
authorChris Lattner <sabre@nondot.org>
Sun, 20 Sep 2009 05:03:30 +0000 (05:03 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 20 Sep 2009 05:03:30 +0000 (05:03 +0000)
commitb168737a7479bc5c1cfdf62f8cc0f9ad652c2676
tree8d5aaa17bf3928d9eaa31037f207ad8dc318c5e8
parent3892baac42daadf760d140168720be1d6e585aa8
Several changes together in a murky mess:
1. Change some "\n" -> '\n'.
2. eliminte some std::string's by using raw_ostream::indent.
3. move a bunch of code out of the main arg parser routine into
   a new static HandlePrefixedOrGroupedOption function.
4. Greatly simplify the implementation of getOptionPred, and make
   it avoid splitting prefix options at = when that doesn't match
   a non-prefix option.

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