From: Bruno Cardoso Lopes Date: Thu, 7 Apr 2016 01:04:09 +0000 (+0000) Subject: [CrashReproducer] Change std::toupper to ::toupper X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=80727827a6f7463a36c002d9384a795ac8f78ce3;p=clang [CrashReproducer] Change std::toupper to ::toupper Attempt to fix windows bots git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@265630 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Frontend/ModuleDependencyCollector.cpp b/lib/Frontend/ModuleDependencyCollector.cpp index 1678d1801d..e3e268596d 100644 --- a/lib/Frontend/ModuleDependencyCollector.cpp +++ b/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;