Fix the windows build.

Sorry for the noise.

llvm-svn: 215249
This commit is contained in:
Rafael Espindola 2014-08-08 22:09:31 +00:00
parent 9721bd029a
commit 674ef1d7d3
1 changed files with 1 additions and 1 deletions

View File

@ -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 == '\\') {