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

Yaron Keren yaron.keren at gmail.com
Wed Nov 6 13:57:51 PST 2013


Author: yrnkrn
Date: Wed Nov  6 15:57:50 2013
New Revision: 194170

URL: http://llvm.org/viewvc/llvm-project?rev=194170&view=rev
Log:
This patch modified ExeBasename as clang-cl.exe to match the preceding comment.


Modified:
    cfe/trunk/tools/driver/driver.cpp

Modified: cfe/trunk/tools/driver/driver.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/driver/driver.cpp?rev=194170&r1=194169&r2=194170&view=diff
==============================================================================
--- cfe/trunk/tools/driver/driver.cpp (original)
+++ cfe/trunk/tools/driver/driver.cpp Wed Nov  6 15:57:50 2013
@@ -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());





More information about the cfe-commits mailing list