Add missing standard headers. Patch by Joerg Sonnenberger!
authorNick Lewycky <nicholas@mxc.ca>
Sun, 19 Dec 2010 20:43:38 +0000 (20:43 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Sun, 19 Dec 2010 20:43:38 +0000 (20:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122193 91177308-0d34-0410-b5e6-96231b3b80d8

18 files changed:
include/llvm/ADT/DenseMap.h
include/llvm/ADT/SmallPtrSet.h
include/llvm/ADT/SmallVector.h
include/llvm/ADT/ilist.h
lib/AsmParser/LLLexer.cpp
lib/Bitcode/Writer/BitcodeWriter.cpp
lib/CodeGen/AsmPrinter/OcamlGCPrinter.cpp
lib/CodeGen/SelectionDAG/TargetLowering.cpp
lib/MC/MCAsmStreamer.cpp
lib/MC/MCParser/AsmLexer.cpp
lib/MC/MCParser/AsmParser.cpp
lib/MC/MCSectionMachO.cpp
lib/Support/FormattedStream.cpp
lib/Support/MemoryBuffer.cpp
lib/Support/Unix/Host.inc
lib/Target/SubtargetFeature.cpp
lib/Target/TargetInstrInfo.cpp
lib/VMCore/LLVMContext.cpp

index 06a1575da4d0f124d5f136c4e362f06791ad087f..f9f37b81a31ed3cfcf5eb74cc773fc463facae59 100644 (file)
@@ -18,6 +18,7 @@
 #include "llvm/Support/PointerLikeTypeTraits.h"
 #include "llvm/Support/type_traits.h"
 #include "llvm/ADT/DenseMapInfo.h"
+#include <algorithm>
 #include <iterator>
 #include <new>
 #include <utility>
index f5af42dc4298b750ad6efe2868432135d1cbf050..b72bbee8b97ad3cfaa1b6a5dbe4fbc4c106fea03 100644 (file)
@@ -16,6 +16,7 @@
 #define LLVM_ADT_SMALLPTRSET_H
 
 #include <cassert>
+#include <cstddef>
 #include <cstring>
 #include <iterator>
 #include "llvm/Support/DataTypes.h"
index 1c86622ad83a07aa2a37078a8348be8666302a27..8b0a13d6ed747c4e7b5d513620f9fc0f0f7d7297 100644 (file)
@@ -20,6 +20,7 @@
 #include <cstddef>
 #include <cstdlib>
 #include <cstring>
+#include <iterator>
 #include <memory>
 
 #ifdef _MSC_VER
index 4e3afe1711997068d4fb855aafa4268b4185a09c..865fcb3d8aadc53f10e78f2d8965dd24baac2f9b 100644 (file)
@@ -38,6 +38,7 @@
 #ifndef LLVM_ADT_ILIST_H
 #define LLVM_ADT_ILIST_H
 
+#include <algorithm>
 #include <cassert>
 #include <cstddef>
 #include <iterator>
index 99989ac971bd7f3e1cde25974482ff0f4d11df67..eb5b0f9c1df16a12cc170ce867a85f9f79ae3905 100644 (file)
@@ -22,6 +22,7 @@
 #include "llvm/Support/MathExtras.h"
 #include "llvm/Support/SourceMgr.h"
 #include "llvm/Support/raw_ostream.h"
+#include <cctype>
 #include <cstdio>
 #include <cstdlib>
 #include <cstring>
index c75dfcfdfc6cb1982dab02858959268dcf60e0d8..7b6b8433a3aab0c23a441e28448cb5b98946fe27 100644 (file)
@@ -27,6 +27,7 @@
 #include "llvm/Support/MathExtras.h"
 #include "llvm/Support/raw_ostream.h"
 #include "llvm/Support/Program.h"
+#include <cctype>
 using namespace llvm;
 
 /// These are manifest constants used by the bitcode writer. They do not need to
index c8a63cf2393bec0aa1440d5686c06218d355bea2..115381767751db828a1e4bf8bf5fb945cb32d248 100644 (file)
@@ -26,6 +26,7 @@
 #include "llvm/ADT/SmallString.h"
 #include "llvm/Support/ErrorHandling.h"
 #include "llvm/Support/FormattedStream.h"
+#include <cctype>
 using namespace llvm;
 
 namespace {
index d91c13cd6b26528056522c2ef117b4c3f2908be9..1300df8cbae425f465eac3c8dc719eaa0b58ed51 100644 (file)
@@ -28,6 +28,7 @@
 #include "llvm/ADT/STLExtras.h"
 #include "llvm/Support/ErrorHandling.h"
 #include "llvm/Support/MathExtras.h"
+#include <cctype>
 using namespace llvm;
 
 namespace llvm {
index 40aa0774b6368c2e038c7f87f65215a7b6e44031..a171ba120be64e5625017d3ddfbeb0cc4e7677ca 100644 (file)
@@ -27,6 +27,7 @@
 #include "llvm/Target/TargetAsmBackend.h"
 #include "llvm/Target/TargetAsmInfo.h"
 #include "llvm/Target/TargetLoweringObjectFile.h"
+#include <cctype>
 using namespace llvm;
 
 namespace {
index 085d519406de558da7f6cef08bb1075e4ea0615d..e474a1501c8673286ac4ccf7d7cb308f20f2e0a7 100644 (file)
@@ -15,6 +15,7 @@
 #include "llvm/Support/SMLoc.h"
 #include "llvm/Support/MemoryBuffer.h"
 #include "llvm/MC/MCAsmInfo.h"
+#include <cctype>
 #include <cerrno>
 #include <cstdio>
 #include <cstdlib>
index a03e496763debb58733de578dc97ca8768078a96..2f53b21f287b554375c13f34919b8008e1faa12d 100644 (file)
@@ -31,6 +31,7 @@
 #include "llvm/Support/SourceMgr.h"
 #include "llvm/Support/raw_ostream.h"
 #include "llvm/Target/TargetAsmParser.h"
+#include <cctype>
 #include <vector>
 using namespace llvm;
 
index 43268e63bbd2925612d75eb930db8d6e66ccaaab..b897c0bd6855e46c2f1471c2114a019995885232 100644 (file)
@@ -10,6 +10,7 @@
 #include "llvm/MC/MCSectionMachO.h"
 #include "llvm/MC/MCContext.h"
 #include "llvm/Support/raw_ostream.h"
+#include <cctype>
 using namespace llvm;
 
 /// SectionTypeDescriptors - These are strings that describe the various section
index c72b5a1751b4097bf6c74a3411b3b01bf9cc3f6d..231ae48759e27fc4de07c10f38a442cba819819f 100644 (file)
@@ -13,6 +13,7 @@
 
 #include "llvm/Support/Debug.h"
 #include "llvm/Support/FormattedStream.h"
+#include <algorithm>
 
 using namespace llvm;
 
index d3c71b992889450156ab9e50d488db49fce4da53..b7d70dd603d17355a768a61bd6b63c8f1d694ad4 100644 (file)
@@ -24,6 +24,7 @@
 #include <cstdio>
 #include <cstring>
 #include <cerrno>
+#include <new>
 #include <sys/types.h>
 #include <sys/stat.h>
 #if !defined(_MSC_VER) && !defined(__MINGW32__)
index 5561906bd17715d2ca8ac7e8ce824493d0353b45..ed74b6759901adbacd222622ef55c1048024c46e 100644 (file)
@@ -20,6 +20,7 @@
 #include "llvm/ADT/StringRef.h"
 #include "Unix.h"
 #include <sys/utsname.h>
+#include <cctype>
 #include <string>
 
 using namespace llvm;
index ba53d63a91cd642cbea308b6818beefa845af708..3cf95b57c5dcba2f14d8699f6db4304e0bd53c23 100644 (file)
@@ -18,6 +18,7 @@
 #include <algorithm>
 #include <cassert>
 #include <cctype>
+#include <cstdlib>
 using namespace llvm;
 
 //===----------------------------------------------------------------------===//
index d4986d89ddc38490413919db73702edf4fac04d0..25b407d646e92dae207befa01ce9631ec40a9518 100644 (file)
@@ -17,6 +17,7 @@
 #include "llvm/CodeGen/SelectionDAGNodes.h"
 #include "llvm/MC/MCAsmInfo.h"
 #include "llvm/Support/ErrorHandling.h"
+#include <cctype>
 using namespace llvm;
 
 //===----------------------------------------------------------------------===//
index c948320c20ec2e4f5dfc7a1f5863f73ed792a54f..1bd497d05d4ecccc6e6d54db4a38a7d7c70962be 100644 (file)
@@ -19,6 +19,7 @@
 #include "llvm/Support/ManagedStatic.h"
 #include "llvm/Support/SourceMgr.h"
 #include "LLVMContextImpl.h"
+#include <cctype>
 using namespace llvm;
 
 static ManagedStatic<LLVMContext> GlobalContext;