We also have toUppercase in include/clang/Basic/CharInfo.h -- Sean Silva
On Wed, Apr 6, 2016 at 6:04 PM, Bruno Cardoso Lopes via cfe-commits < cfe-commits@lists.llvm.org> wrote: > Author: bruno > Date: Wed Apr 6 20:04:09 2016 > New Revision: 265630 > > URL: http://llvm.org/viewvc/llvm-project?rev=265630&view=rev > Log: > [CrashReproducer] Change std::toupper to ::toupper > > Attempt to fix windows bots > > Modified: > cfe/trunk/lib/Frontend/ModuleDependencyCollector.cpp > > Modified: cfe/trunk/lib/Frontend/ModuleDependencyCollector.cpp > URL: > http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/ModuleDependencyCollector.cpp?rev=265630&r1=265629&r2=265630&view=diff > > ============================================================================== > --- cfe/trunk/lib/Frontend/ModuleDependencyCollector.cpp (original) > +++ cfe/trunk/lib/Frontend/ModuleDependencyCollector.cpp Wed Apr 6 > 20:04:09 2016 > @@ -91,7 +91,7 @@ static bool isCaseSensitivePath(StringRe > // 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; > > > _______________________________________________ > cfe-commits mailing list > cfe-commits@lists.llvm.org > http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits >
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits