Skip to content

Commit be4a549

Browse files
committed
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
1 parent 73ed2a2 commit be4a549

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Demangle/MicrosoftDemangleNodes.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
//===----------------------------------------------------------------------===//
1313

1414
#include "MicrosoftDemangleNodes.h"
15-
1615
#include "llvm/Demangle/Compiler.h"
1716
#include "llvm/Demangle/Utility.h"
17+
#include <cctype>
1818

1919
using namespace llvm;
2020
using namespace ms_demangle;
@@ -30,7 +30,7 @@ static void outputSpaceIfNecessary(OutputStream &OS) {
3030
return;
3131

3232
char C = OS.back();
33-
if (isalnum(C) || C == '>')
33+
if (std::isalnum(C) || C == '>')
3434
OS << " ";
3535
}
3636

0 commit comments

Comments
 (0)