[llvm-commits] [llvm] r105786 - in /llvm/trunk/include/llvm: ADT/DenseMap.h ADT/SmallVector.h ADT/ilist.h Use.h
Duncan Sands
baldrick at free.fr
Thu Jun 10 03:13:58 PDT 2010
Author: baldrick
Date: Thu Jun 10 05:13:58 2010
New Revision: 105786
URL: http://llvm.org/viewvc/llvm-project?rev=105786&view=rev
Log:
Add includes to get ptrdiff_t. This is needed by gcc-4.6 which has
done some more header trimming, resulting in cstdef being included
by less header files.
Modified:
llvm/trunk/include/llvm/ADT/DenseMap.h
llvm/trunk/include/llvm/ADT/SmallVector.h
llvm/trunk/include/llvm/ADT/ilist.h
llvm/trunk/include/llvm/Use.h
Modified: llvm/trunk/include/llvm/ADT/DenseMap.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ADT/DenseMap.h?rev=105786&r1=105785&r2=105786&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ADT/DenseMap.h (original)
+++ llvm/trunk/include/llvm/ADT/DenseMap.h Thu Jun 10 05:13:58 2010
@@ -22,6 +22,7 @@
#include <new>
#include <utility>
#include <cassert>
+#include <cstddef>
#include <cstring>
namespace llvm {
Modified: llvm/trunk/include/llvm/ADT/SmallVector.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ADT/SmallVector.h?rev=105786&r1=105785&r2=105786&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ADT/SmallVector.h (original)
+++ llvm/trunk/include/llvm/ADT/SmallVector.h Thu Jun 10 05:13:58 2010
@@ -17,6 +17,7 @@
#include "llvm/Support/type_traits.h"
#include <algorithm>
#include <cassert>
+#include <cstddef>
#include <cstdlib>
#include <cstring>
#include <memory>
Modified: llvm/trunk/include/llvm/ADT/ilist.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ADT/ilist.h?rev=105786&r1=105785&r2=105786&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ADT/ilist.h (original)
+++ llvm/trunk/include/llvm/ADT/ilist.h Thu Jun 10 05:13:58 2010
@@ -39,6 +39,7 @@
#define LLVM_ADT_ILIST_H
#include <cassert>
+#include <cstddef>
#include <iterator>
namespace llvm {
Modified: llvm/trunk/include/llvm/Use.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Use.h?rev=105786&r1=105785&r2=105786&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Use.h (original)
+++ llvm/trunk/include/llvm/Use.h Thu Jun 10 05:13:58 2010
@@ -27,6 +27,7 @@
#include "llvm/Support/Casting.h"
#include "llvm/ADT/PointerIntPair.h"
+#include <cstddef>
#include <iterator>
namespace llvm {
More information about the llvm-commits
mailing list