diff options
author | Chris Lattner <sabre@nondot.org> | 2009-09-20 05:03:30 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-09-20 05:03:30 +0000 |
commit | b168737a7479bc5c1cfdf62f8cc0f9ad652c2676 (patch) | |
tree | 8d5aaa17bf3928d9eaa31037f207ad8dc318c5e8 /lib/CompilerDriver/Tool.cpp | |
parent | 3892baac42daadf760d140168720be1d6e585aa8 (diff) |
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
Diffstat (limited to 'lib/CompilerDriver/Tool.cpp')
0 files changed, 0 insertions, 0 deletions