[llvm] r340721 - Fix this file to have the necessary standard library includes and use
Chandler Carruth via llvm-commits
llvm-commits at lists.llvm.org
Sun Aug 26 23:52:14 PDT 2018
Author: chandlerc
Date: Sun Aug 26 23:52:14 2018
New Revision: 340721
URL: http://llvm.org/viewvc/llvm-project?rev=340721&view=rev
Log:
Fix this file to have the necessary standard library includes and use
the `std::` namespace. Should fix a number of build bots as well.
Modified:
llvm/trunk/lib/Demangle/MicrosoftDemangleNodes.cpp
Modified: llvm/trunk/lib/Demangle/MicrosoftDemangleNodes.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Demangle/MicrosoftDemangleNodes.cpp?rev=340721&r1=340720&r2=340721&view=diff
==============================================================================
--- llvm/trunk/lib/Demangle/MicrosoftDemangleNodes.cpp (original)
+++ llvm/trunk/lib/Demangle/MicrosoftDemangleNodes.cpp Sun Aug 26 23:52:14 2018
@@ -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(Outpu
return;
char C = OS.back();
- if (isalnum(C) || C == '>')
+ if (std::isalnum(C) || C == '>')
OS << " ";
}
More information about the llvm-commits
mailing list