aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Driver/Compilation.cpp
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2012-10-31 21:08:30 +0000
committerChad Rosier <mcrosier@apple.com>2012-10-31 21:08:30 +0000
commit37756b0714acdd352eabcded82f90975cc345286 (patch)
treea877d334ca6c3a32580a934f313bcd0da36a99f4 /clang/lib/Driver/Compilation.cpp
parentd7c16b254332796d6ce111b50ce2cf6fbfce8e7a (diff)
downloadllvm-37756b0714acdd352eabcded82f90975cc345286.zip
llvm-37756b0714acdd352eabcded82f90975cc345286.tar.gz
llvm-37756b0714acdd352eabcded82f90975cc345286.tar.bz2
[driver] Remove an extra space with the -iprefix option, so that
matching works correctly. Part of rdar://12329974 llvm-svn: 167173
Diffstat (limited to 'clang/lib/Driver/Compilation.cpp')
-rw-r--r--clang/lib/Driver/Compilation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Driver/Compilation.cpp b/clang/lib/Driver/Compilation.cpp
index c15e7a3..124e50c 100644
--- a/clang/lib/Driver/Compilation.cpp
+++ b/clang/lib/Driver/Compilation.cpp
@@ -115,7 +115,7 @@ static bool skipArg(const char *Flag, bool &SkipNextArg) {
.Cases("-o", "-coverage-file", "-dependency-file", true)
.Cases("-fdebug-compilation-dir", "-fmodule-cache-path", "-idirafter", true)
.Cases("-include", "-include-pch", "-internal-isystem", true)
- .Cases("-internal-externc-isystem", "-iprefix ", "-iwithprefix", true)
+ .Cases("-internal-externc-isystem", "-iprefix", "-iwithprefix", true)
.Cases("-iwithprefixbefore", "-isysroot", "-isystem", "-iquote", true)
.Cases("-resource-dir", "-serialize-diagnostic-file", true)
.Case("-dwarf-debug-flags", true)