summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Path.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-08-08 22:09:31 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-08-08 22:09:31 +0000
commit674ef1d7d3960641b73aa23143426ffcc0416f20 (patch)
tree2315fc5430ba56c5b563bee60ea4daf22d7aba5a /llvm/lib/Support/Path.cpp
parent9721bd029a09621d5b1c1a21ad019d8709699b36 (diff)
downloadbcm5719-llvm-674ef1d7d3960641b73aa23143426ffcc0416f20.tar.gz
bcm5719-llvm-674ef1d7d3960641b73aa23143426ffcc0416f20.zip
Fix the windows build.
Sorry for the noise. llvm-svn: 215249
Diffstat (limited to 'llvm/lib/Support/Path.cpp')
-rw-r--r--llvm/lib/Support/Path.cpp2
1 files changed, 1 insertions, 1 deletions
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<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 == '\\') {
OpenPOWER on IntegriCloud