From 674ef1d7d3960641b73aa23143426ffcc0416f20 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Fri, 8 Aug 2014 22:09:31 +0000 Subject: Fix the windows build. Sorry for the noise. llvm-svn: 215249 --- llvm/lib/Support/Path.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/Support/Path.cpp') diff --git a/llvm/lib/Support/Path.cpp b/llvm/lib/Support/Path.cpp index bc6543a5722..4d179218f78 100644 --- a/llvm/lib/Support/Path.cpp +++ b/llvm/lib/Support/Path.cpp @@ -542,7 +542,7 @@ void native(const Twine &path, SmallVectorImpl &result) { void native(SmallVectorImpl &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 == '\\') { -- cgit v1.2.3