parent
476d20764a
commit
007f9f3e3d
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue