Fix the windows build.
authorRafael Espindola <rafael.espindola@gmail.com>
Fri, 8 Aug 2014 22:09:31 +0000 (22:09 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Fri, 8 Aug 2014 22:09:31 +0000 (22:09 +0000)
Sorry for the noise.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215249 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Support/Path.cpp

index bc6543a572209d235bd56e26b77f7616cffd95f3..4d179218f78c7781d7b5cfc0a4be6abb306ff283 100644 (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 == '\\') {