From 78cab947cf8f81fc3cadbedd90c20fbe6e5eb1ee Mon Sep 17 00:00:00 2001 From: Joerg Sonnenberger Date: Fri, 10 Aug 2012 10:53:56 +0000 Subject: [PATCH] Add some missing includes for the build against stdcxx. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161657 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/ADT/StringRef.h | 1 + lib/Target/X86/X86ISelLowering.cpp | 1 + utils/TableGen/StringToOffsetTable.h | 1 + 3 files changed, 3 insertions(+) diff --git a/include/llvm/ADT/StringRef.h b/include/llvm/ADT/StringRef.h index 1779bcb6f1b..cd846031c5a 100644 --- a/include/llvm/ADT/StringRef.h +++ b/include/llvm/ADT/StringRef.h @@ -12,6 +12,7 @@ #include "llvm/Support/type_traits.h" +#include #include #include #include diff --git a/lib/Target/X86/X86ISelLowering.cpp b/lib/Target/X86/X86ISelLowering.cpp index 33bc1c9db5d..c68d62bdfd2 100644 --- a/lib/Target/X86/X86ISelLowering.cpp +++ b/lib/Target/X86/X86ISelLowering.cpp @@ -49,6 +49,7 @@ #include "llvm/Support/MathExtras.h" #include "llvm/Target/TargetOptions.h" #include +#include using namespace llvm; STATISTIC(NumTailCalls, "Number of tail calls"); diff --git a/utils/TableGen/StringToOffsetTable.h b/utils/TableGen/StringToOffsetTable.h index 803f5bd5cf0..a098d7d744a 100644 --- a/utils/TableGen/StringToOffsetTable.h +++ b/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 namespace llvm {