Delete unused method.
[oota-llvm.git] / 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 == '\\') {