summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/ModuleDependencyCollector.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/Frontend/ModuleDependencyCollector.cpp')
-rw-r--r--clang/lib/Frontend/ModuleDependencyCollector.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Frontend/ModuleDependencyCollector.cpp b/clang/lib/Frontend/ModuleDependencyCollector.cpp
index 1678d1801d2..e3e268596d4 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;
OpenPOWER on IntegriCloud