[llvm-commits] [llvm] r161657 - in /llvm/trunk: include/llvm/ADT/StringRef.h lib/Target/X86/X86ISelLowering.cpp utils/TableGen/StringToOffsetTable.h
Joerg Sonnenberger
joerg at bec.de
Fri Aug 10 03:53:56 PDT 2012
Author: joerg
Date: Fri Aug 10 05:53:56 2012
New Revision: 161657
URL: http://llvm.org/viewvc/llvm-project?rev=161657&view=rev
Log:
Add some missing includes for the build against stdcxx.
Modified:
llvm/trunk/include/llvm/ADT/StringRef.h
llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
llvm/trunk/utils/TableGen/StringToOffsetTable.h
Modified: llvm/trunk/include/llvm/ADT/StringRef.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ADT/StringRef.h?rev=161657&r1=161656&r2=161657&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ADT/StringRef.h (original)
+++ llvm/trunk/include/llvm/ADT/StringRef.h Fri Aug 10 05:53:56 2012
@@ -12,6 +12,7 @@
#include "llvm/Support/type_traits.h"
+#include <algorithm>
#include <cassert>
#include <cstring>
#include <limits>
Modified: llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86ISelLowering.cpp?rev=161657&r1=161656&r2=161657&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86ISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86ISelLowering.cpp Fri Aug 10 05:53:56 2012
@@ -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");
Modified: llvm/trunk/utils/TableGen/StringToOffsetTable.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/StringToOffsetTable.h?rev=161657&r1=161656&r2=161657&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/StringToOffsetTable.h (original)
+++ llvm/trunk/utils/TableGen/StringToOffsetTable.h Fri Aug 10 05:53:56 2012
@@ -14,6 +14,7 @@
#include "llvm/ADT/StringMap.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/Support/raw_ostream.h"
+#include <cctype>
namespace llvm {
More information about the llvm-commits
mailing list