forked from OSchip/llvm-project
This patch modified ExeBasename as clang-cl.exe to match the preceding comment.
llvm-svn: 194170
This commit is contained in:
parent
143b5e8237
commit
39f02ac90f
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue