diff options
Diffstat (limited to 'lib/Driver/Compilation.cpp')
-rw-r--r-- | lib/Driver/Compilation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Driver/Compilation.cpp b/lib/Driver/Compilation.cpp index 7a62fa4b55..baaba19ed7 100644 --- a/lib/Driver/Compilation.cpp +++ b/lib/Driver/Compilation.cpp @@ -72,7 +72,7 @@ const DerivedArgList &Compilation::getArgsForToolChain(const ToolChain *TC, static bool needsQuote(const char *s) { for (const char *c = s; *c; ++c) - if (*c == ' ') + if (*c == ' ' || *c == '"' || *c == '\\' || *c == '$') return true; return false; } |