From 37756b0714acdd352eabcded82f90975cc345286 Mon Sep 17 00:00:00 2001 From: Chad Rosier Date: Wed, 31 Oct 2012 21:08:30 +0000 Subject: [PATCH] [driver] Remove an extra space with the -iprefix option, so that matching works correctly. Part of rdar://12329974 llvm-svn: 167173 --- clang/lib/Driver/Compilation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.7.4