[llvm] r215249 - Fix the windows build.

Rafael Espindola rafael.espindola at gmail.com
Fri Aug 8 15:09:32 PDT 2014


Author: rafael
Date: Fri Aug  8 17:09:31 2014
New Revision: 215249

URL: http://llvm.org/viewvc/llvm-project?rev=215249&view=rev
Log:
Fix the windows build.

Sorry for the noise.

Modified:
    llvm/trunk/lib/Support/Path.cpp

Modified: llvm/trunk/lib/Support/Path.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/Path.cpp?rev=215249&r1=215248&r2=215249&view=diff
==============================================================================
--- llvm/trunk/lib/Support/Path.cpp (original)
+++ llvm/trunk/lib/Support/Path.cpp Fri Aug  8 17:09:31 2014
@@ -542,7 +542,7 @@ void native(const Twine &path, SmallVect
 
 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 == '\\') {





More information about the llvm-commits mailing list