This patch modified ExeBasename as clang-cl.exe to match the preceding comment.

llvm-svn: 194170
This commit is contained in:
Yaron Keren 2013-11-06 21:57:50 +00:00
parent 143b5e8237
commit 39f02ac90f
1 changed files with 1 additions and 1 deletions

View File

@ -360,7 +360,7 @@ int main(int argc_, const char **argv_) {
// use clang-cl.exe as the prefix to avoid confusion between clang and MSVC.
StringRef ExeBasename(llvm::sys::path::filename(Path));
if (ExeBasename.equals_lower("cl.exe"))
ExeBasename = "clang cl.exe";
ExeBasename = "clang-cl.exe";
DiagClient->setPrefix(ExeBasename);
IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs());