forked from OSchip/llvm-project
MSVCToolChain.cpp: Use explicit constructor for SmallString from std::string, to appease mingw-g++.
llvm-svn: 269556
This commit is contained in:
parent
bfd1e9a044
commit
4b8e3e59cd
|
@ -466,7 +466,7 @@ VersionTuple MSVCToolChain::getMSVCVersionFromExe() const {
|
|||
std::string BinPath;
|
||||
if (!getVisualStudioBinariesFolder("", BinPath))
|
||||
return Version;
|
||||
SmallString<128> ClExe = BinPath;
|
||||
SmallString<128> ClExe(BinPath);
|
||||
llvm::sys::path::append(ClExe, "cl.exe");
|
||||
|
||||
std::wstring ClExeWide;
|
||||
|
|
Loading…
Reference in New Issue