summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoerg Sonnenberger <joerg@bec.de>2012-08-10 10:53:56 +0000
committerJoerg Sonnenberger <joerg@bec.de>2012-08-10 10:53:56 +0000
commitaa2f801ca36176abb1e86cbfa0af4785df04d2ef (patch)
tree2cbd09564e8933d05cd85f4ebb82999aeaa03f3a
parent3a913ed8055c7c14112dabf785abd62b61470c42 (diff)
downloadbcm5719-llvm-aa2f801ca36176abb1e86cbfa0af4785df04d2ef.tar.gz
bcm5719-llvm-aa2f801ca36176abb1e86cbfa0af4785df04d2ef.zip
Add some missing includes for the build against stdcxx.
llvm-svn: 161657
-rw-r--r--llvm/include/llvm/ADT/StringRef.h1
-rw-r--r--llvm/lib/Target/X86/X86ISelLowering.cpp1
-rw-r--r--llvm/utils/TableGen/StringToOffsetTable.h1
3 files changed, 3 insertions, 0 deletions
diff --git a/llvm/include/llvm/ADT/StringRef.h b/llvm/include/llvm/ADT/StringRef.h
index 1779bcb6f1b..cd846031c5a 100644
--- a/llvm/include/llvm/ADT/StringRef.h
+++ b/llvm/include/llvm/ADT/StringRef.h
@@ -12,6 +12,7 @@
#include "llvm/Support/type_traits.h"
+#include <algorithm>
#include <cassert>
#include <cstring>
#include <limits>
diff --git a/llvm/lib/Target/X86/X86ISelLowering.cpp b/llvm/lib/Target/X86/X86ISelLowering.cpp
index 33bc1c9db5d..c68d62bdfd2 100644
--- a/llvm/lib/Target/X86/X86ISelLowering.cpp
+++ b/llvm/lib/Target/X86/X86ISelLowering.cpp
@@ -49,6 +49,7 @@
#include "llvm/Support/MathExtras.h"
#include "llvm/Target/TargetOptions.h"
#include <bitset>
+#include <cctype>
using namespace llvm;
STATISTIC(NumTailCalls, "Number of tail calls");
diff --git a/llvm/utils/TableGen/StringToOffsetTable.h b/llvm/utils/TableGen/StringToOffsetTable.h
index 803f5bd5cf0..a098d7d744a 100644
--- a/llvm/utils/TableGen/StringToOffsetTable.h
+++ b/llvm/utils/TableGen/StringToOffsetTable.h
@@ -14,6 +14,7 @@
#include "llvm/ADT/StringMap.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/Support/raw_ostream.h"
+#include <cctype>
namespace llvm {
OpenPOWER on IntegriCloud