From 49acebea0730f0b478bfb933e008750ca47cd878 Mon Sep 17 00:00:00 2001 From: Bruno Cardoso Lopes Date: Thu, 7 Apr 2016 01:04:09 +0000 Subject: [PATCH] [CrashReproducer] Change std::toupper to ::toupper Attempt to fix windows bots llvm-svn: 265630 --- clang/lib/Frontend/ModuleDependencyCollector.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/lib/Frontend/ModuleDependencyCollector.cpp b/clang/lib/Frontend/ModuleDependencyCollector.cpp index 1678d18..e3e2685 100644 --- a/clang/lib/Frontend/ModuleDependencyCollector.cpp +++ b/clang/lib/Frontend/ModuleDependencyCollector.cpp @@ -91,7 +91,7 @@ static bool isCaseSensitivePath(StringRef Path) { // sensitive in the absense of realpath, since this is what the VFSWriter // already expects when sensitivity isn't setup. for (auto &C : Path) - UpperDest.push_back(std::toupper(C)); + UpperDest.push_back(::toupper(C)); if (real_path(UpperDest, RealDest) && Path.equals(RealDest)) return false; return true; -- 2.7.4