From 981af0021b9144cb08d605a404e9ea68b2e29b9e Mon Sep 17 00:00:00 2001 From: Will Dietz Date: Sat, 12 Oct 2013 00:55:57 +0000 Subject: Add missing #include's to cctype when using isdigit/alpha/etc. llvm-svn: 192519 --- llvm/lib/Linker/LinkModules.cpp | 1 + llvm/lib/Object/COFFObjectFile.cpp | 1 + llvm/lib/Object/YAML.cpp | 1 + llvm/lib/Support/Windows/TimeValue.inc | 1 + llvm/lib/Target/CppBackend/CPPBackend.cpp | 1 + llvm/lib/Target/SystemZ/SystemZISelLowering.cpp | 2 ++ 6 files changed, 7 insertions(+) (limited to 'llvm/lib') diff --git a/llvm/lib/Linker/LinkModules.cpp b/llvm/lib/Linker/LinkModules.cpp index c3bcbcf8f35..b343b1ce8f8 100644 --- a/llvm/lib/Linker/LinkModules.cpp +++ b/llvm/lib/Linker/LinkModules.cpp @@ -22,6 +22,7 @@ #include "llvm/Support/Debug.h" #include "llvm/Support/raw_ostream.h" #include "llvm/Transforms/Utils/Cloning.h" +#include using namespace llvm; //===----------------------------------------------------------------------===// diff --git a/llvm/lib/Object/COFFObjectFile.cpp b/llvm/lib/Object/COFFObjectFile.cpp index 67b8e6be78e..3d1e62e1e55 100644 --- a/llvm/lib/Object/COFFObjectFile.cpp +++ b/llvm/lib/Object/COFFObjectFile.cpp @@ -18,6 +18,7 @@ #include "llvm/ADT/Triple.h" #include "llvm/Support/Debug.h" #include "llvm/Support/raw_ostream.h" +#include using namespace llvm; using namespace object; diff --git a/llvm/lib/Object/YAML.cpp b/llvm/lib/Object/YAML.cpp index 21bacb8578f..c527bde090e 100644 --- a/llvm/lib/Object/YAML.cpp +++ b/llvm/lib/Object/YAML.cpp @@ -15,6 +15,7 @@ #include "llvm/Object/YAML.h" #include "llvm/ADT/StringExtras.h" #include "llvm/Support/raw_ostream.h" +#include using namespace llvm; using namespace object::yaml; diff --git a/llvm/lib/Support/Windows/TimeValue.inc b/llvm/lib/Support/Windows/TimeValue.inc index 96f55797e53..ef1e217feaf 100644 --- a/llvm/lib/Support/Windows/TimeValue.inc +++ b/llvm/lib/Support/Windows/TimeValue.inc @@ -12,6 +12,7 @@ //===----------------------------------------------------------------------===// #include "Windows.h" +#include #include namespace llvm { diff --git a/llvm/lib/Target/CppBackend/CPPBackend.cpp b/llvm/lib/Target/CppBackend/CPPBackend.cpp index 0eb15d3f358..c5bd13c05b8 100644 --- a/llvm/lib/Target/CppBackend/CPPBackend.cpp +++ b/llvm/lib/Target/CppBackend/CPPBackend.cpp @@ -33,6 +33,7 @@ #include "llvm/Support/FormattedStream.h" #include "llvm/Support/TargetRegistry.h" #include +#include #include #include #include diff --git a/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp b/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp index f9cc3b8d159..b1ec331c3e5 100644 --- a/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp +++ b/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp @@ -23,6 +23,8 @@ #include "llvm/CodeGen/MachineRegisterInfo.h" #include "llvm/CodeGen/TargetLoweringObjectFileImpl.h" +#include + using namespace llvm; // Classify VT as either 32 or 64 bit. -- cgit v1.2.3