r265630 - [CrashReproducer] Change std::toupper to ::toupper
Sean Silva via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 6 18:11:59 PDT 2016
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 at 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 at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160406/17a91ce0/attachment.html>
More information about the cfe-commits
mailing list