Fix Windows buildbots.

llvm-svn: 288975
This commit is contained in:
Rui Ueyama 2016-12-07 20:31:46 +00:00
parent 476d20764a
commit 007f9f3e3d
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ std::string lld::stringize(opt::Arg *Arg) {
std::string lld::convertToUnixPathSeparator(StringRef S) { std::string lld::convertToUnixPathSeparator(StringRef S) {
#ifdef LLVM_ON_WIN32 #ifdef LLVM_ON_WIN32
std:string Ret = S.str(); std::string Ret = S.str();
std::replace(Ret.begin(), Ret.end(), '\\', '/'); std::replace(Ret.begin(), Ret.end(), '\\', '/');
return Ret; return Ret;
#else #else