From 39f02ac90fa8ed8414058c87b15dffb42ea72a6e Mon Sep 17 00:00:00 2001 From: Yaron Keren Date: Wed, 6 Nov 2013 21:57:50 +0000 Subject: [PATCH] This patch modified ExeBasename as clang-cl.exe to match the preceding comment. llvm-svn: 194170 --- clang/tools/driver/driver.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/tools/driver/driver.cpp b/clang/tools/driver/driver.cpp index 6a1a47f97dbd..3a6a09b77fc7 100644 --- a/clang/tools/driver/driver.cpp +++ b/clang/tools/driver/driver.cpp @@ -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 DiagID(new DiagnosticIDs());