diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2009-12-04 19:31:58 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2009-12-04 19:31:58 +0000 |
commit | 0f4c59c3beae302b5a3ecea13f2e257bdaad3188 (patch) | |
tree | 8a70714a67252a9b91085c6a98e096cd5a9e0f45 /lib/Driver/Tools.cpp | |
parent | b2c9c0b1c5e25cfbee1403cde12b98f180e6b315 (diff) |
Add gcc's -no-canonical-prefixes option to clang.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90577 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/Tools.cpp')
-rw-r--r-- | lib/Driver/Tools.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Driver/Tools.cpp b/lib/Driver/Tools.cpp index b10ad1e122..a6cdac39f5 100644 --- a/lib/Driver/Tools.cpp +++ b/lib/Driver/Tools.cpp @@ -1104,6 +1104,9 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA, // care to warn the user about. Args.ClaimAllArgs(options::OPT_clang_ignored_f_Group); Args.ClaimAllArgs(options::OPT_clang_ignored_m_Group); + + // -no-canonical-prefixes is used very early in main. + Args.ClaimAllArgs(options::OPT_no_canonical_prefixes); } void gcc::Common::ConstructJob(Compilation &C, const JobAction &JA, |