[driver] Remove an extra space with the -internal-externc-isystem option, so
authorChad Rosier <mcrosier@apple.com>
Wed, 31 Oct 2012 19:28:55 +0000 (19:28 +0000)
committerChad Rosier <mcrosier@apple.com>
Wed, 31 Oct 2012 19:28:55 +0000 (19:28 +0000)
that matching works correctly.
Part of rdar://12329974

llvm-svn: 167161

clang/lib/Driver/Compilation.cpp

index e804a543839f65fc21ee3a702b4c8380fcf5fd7d..c15e7a3b02490231307ab6b1a2b927ca211ca495 100644 (file)
@@ -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)