]> granicus.if.org Git - clang/commitdiff
[CrashReproducer] Change std::toupper to ::toupper
authorBruno Cardoso Lopes <bruno.cardoso@gmail.com>
Thu, 7 Apr 2016 01:04:09 +0000 (01:04 +0000)
committerBruno Cardoso Lopes <bruno.cardoso@gmail.com>
Thu, 7 Apr 2016 01:04:09 +0000 (01:04 +0000)
Attempt to fix windows bots

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@265630 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Frontend/ModuleDependencyCollector.cpp

index 1678d1801d2d2aea3d9fd9200f316802ea34f60a..e3e268596d44d99190b2e2c186b82dd1da41292f 100644 (file)
@@ -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;