summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Demangle/MicrosoftDemangleNodes.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2018-08-27 06:52:14 +0000
committerChandler Carruth <chandlerc@gmail.com>2018-08-27 06:52:14 +0000
commitbe4a54940e01358103887c1a1271d9797e279af8 (patch)
treebcab80a2da249b8cfdad4f0e62a0ba91df44f69f /llvm/lib/Demangle/MicrosoftDemangleNodes.cpp
parent73ed2a2a6bf45b302bc73c3fb6a5b6b623834a48 (diff)
downloadbcm5719-llvm-be4a54940e01358103887c1a1271d9797e279af8.tar.gz
bcm5719-llvm-be4a54940e01358103887c1a1271d9797e279af8.zip
Fix this file to have the necessary standard library includes and use
the `std::` namespace. Should fix a number of build bots as well. llvm-svn: 340721
Diffstat (limited to 'llvm/lib/Demangle/MicrosoftDemangleNodes.cpp')
-rw-r--r--llvm/lib/Demangle/MicrosoftDemangleNodes.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Demangle/MicrosoftDemangleNodes.cpp b/llvm/lib/Demangle/MicrosoftDemangleNodes.cpp
index 039b12212fe..0e0b01d06b9 100644
--- a/llvm/lib/Demangle/MicrosoftDemangleNodes.cpp
+++ b/llvm/lib/Demangle/MicrosoftDemangleNodes.cpp
@@ -12,9 +12,9 @@
//===----------------------------------------------------------------------===//
#include "MicrosoftDemangleNodes.h"
-
#include "llvm/Demangle/Compiler.h"
#include "llvm/Demangle/Utility.h"
+#include <cctype>
using namespace llvm;
using namespace ms_demangle;
@@ -30,7 +30,7 @@ static void outputSpaceIfNecessary(OutputStream &OS) {
return;
char C = OS.back();
- if (isalnum(C) || C == '>')
+ if (std::isalnum(C) || C == '>')
OS << " ";
}
OpenPOWER on IntegriCloud