Add some missing includes for the build against stdcxx.
authorJoerg Sonnenberger <joerg@bec.de>
Fri, 10 Aug 2012 10:53:56 +0000 (10:53 +0000)
committerJoerg Sonnenberger <joerg@bec.de>
Fri, 10 Aug 2012 10:53:56 +0000 (10:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161657 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/ADT/StringRef.h
lib/Target/X86/X86ISelLowering.cpp
utils/TableGen/StringToOffsetTable.h

index 1779bcb6f1b411af27aed5f5c0cd7f428bc03b9c..cd846031c5a02030e0b269033e89b51e32955fff 100644 (file)
@@ -12,6 +12,7 @@
 
 #include "llvm/Support/type_traits.h"
 
+#include <algorithm>
 #include <cassert>
 #include <cstring>
 #include <limits>
index 33bc1c9db5d8cf8c02b591ba1f932f857785e98b..c68d62bdfd26ed0bbadd0853c72f2e4828516545 100644 (file)
@@ -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");
index 803f5bd5cf014e1d5e7a18f60d11bc769a8e0745..a098d7d744a14c21e134e1333b2419e7699827b4 100644 (file)
@@ -14,6 +14,7 @@
 #include "llvm/ADT/StringMap.h"
 #include "llvm/ADT/StringExtras.h"
 #include "llvm/Support/raw_ostream.h"
+#include <cctype>
 
 namespace llvm {