diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2009-12-07 18:28:29 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2009-12-07 18:28:29 +0000 |
commit | 7ca7987669fcd14d91b4227a9ddcf7fdd8b1f8c2 (patch) | |
tree | 038eb6fd3ae77550af04b79a83d7140dd05b3a40 /lib/Driver/Driver.cpp | |
parent | 2b5ff1a1471819192ae805b51b888030ecb52914 (diff) |
Shorten the help test for -no-canonical-prefixes, put it behind HelpHidden and
claim it in Driver.cpp instead of Tools.cpp.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90777 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/Driver.cpp')
-rw-r--r-- | lib/Driver/Driver.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Driver/Driver.cpp b/lib/Driver/Driver.cpp index c404e762b8..7f7affbdb4 100644 --- a/lib/Driver/Driver.cpp +++ b/lib/Driver/Driver.cpp @@ -115,6 +115,9 @@ Compilation *Driver::BuildCompilation(int argc, const char **argv) { InputArgList *Args = ParseArgStrings(Start, End); + // -no-canonical-prefixes is used very early in main. + Args->ClaimAllArgs(options::OPT_no_canonical_prefixes); + // Extract -ccc args. // // FIXME: We need to figure out where this behavior should live. Most of it |