forked from OSchip/llvm-project
Fix the windows build.
Sorry for the noise. llvm-svn: 215249
This commit is contained in:
parent
9721bd029a
commit
674ef1d7d3
|
@ -542,7 +542,7 @@ void native(const Twine &path, SmallVectorImpl<char> &result) {
|
|||
|
||||
void native(SmallVectorImpl<char> &Path) {
|
||||
#ifdef LLVM_ON_WIN32
|
||||
std::replace(path.begin(), path.end(), '/', '\\');
|
||||
std::replace(Path.begin(), Path.end(), '/', '\\');
|
||||
#else
|
||||
for (auto PI = Path.begin(), PE = Path.end(); PI < PE; ++PI) {
|
||||
if (*PI == '\\') {
|
||||
|
|
Loading…
Reference in New Issue