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());