diff options
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 |