[llvm-commits] [poolalloc] r145686 - in /poolalloc/trunk/include: dsa/DSCallGraph.h dsa/DataStructure.h poolalloc/Support/MallocAllocator.h
John Criswell
criswell at uiuc.edu
Fri Dec 2 09:50:37 PST 2011
Author: criswell
Date: Fri Dec 2 11:50:37 2011
New Revision: 145686
URL: http://llvm.org/viewvc/llvm-project?rev=145686&view=rev
Log:
Be sure to include cstddef to get the definition of ptrdiff_t. This includes
including it before ADT/EquivalenceClasses.h since it uses it but doesn't pull
cstddef in.
Reorder some header files so that the number of changes is smaller.
Modified:
poolalloc/trunk/include/dsa/DSCallGraph.h
poolalloc/trunk/include/dsa/DataStructure.h
poolalloc/trunk/include/poolalloc/Support/MallocAllocator.h
Modified: poolalloc/trunk/include/dsa/DSCallGraph.h
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/include/dsa/DSCallGraph.h?rev=145686&r1=145685&r2=145686&view=diff
==============================================================================
--- poolalloc/trunk/include/dsa/DSCallGraph.h (original)
+++ poolalloc/trunk/include/dsa/DSCallGraph.h Fri Dec 2 11:50:37 2011
@@ -17,6 +17,7 @@
#include "dsa/svset.h"
#include "dsa/keyiterator.h"
+#include <cstddef>
#include "llvm/ADT/EquivalenceClasses.h"
#include "llvm/Support/CallSite.h"
Modified: poolalloc/trunk/include/dsa/DataStructure.h
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/include/dsa/DataStructure.h?rev=145686&r1=145685&r2=145686&view=diff
==============================================================================
--- poolalloc/trunk/include/dsa/DataStructure.h (original)
+++ poolalloc/trunk/include/dsa/DataStructure.h Fri Dec 2 11:50:37 2011
@@ -14,18 +14,18 @@
#ifndef LLVM_ANALYSIS_DATA_STRUCTURE_H
#define LLVM_ANALYSIS_DATA_STRUCTURE_H
-#include "llvm/Pass.h"
-#include "llvm/Target/TargetData.h"
-#include "llvm/Support/CallSite.h"
-#include "llvm/ADT/EquivalenceClasses.h"
-#include "llvm/ADT/DenseSet.h"
-
#include "dsa/DSCallGraph.h"
#include "dsa/svset.h"
#include "dsa/super_set.h"
#include "dsa/AddressTakenAnalysis.h"
#include "dsa/AllocatorIdentification.h"
+#include "llvm/Pass.h"
+#include "llvm/Target/TargetData.h"
+#include "llvm/Support/CallSite.h"
+#include "llvm/ADT/EquivalenceClasses.h"
+#include "llvm/ADT/DenseSet.h"
+
#include <map>
namespace llvm {
Modified: poolalloc/trunk/include/poolalloc/Support/MallocAllocator.h
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/include/poolalloc/Support/MallocAllocator.h?rev=145686&r1=145685&r2=145686&view=diff
==============================================================================
--- poolalloc/trunk/include/poolalloc/Support/MallocAllocator.h (original)
+++ poolalloc/trunk/include/poolalloc/Support/MallocAllocator.h Fri Dec 2 11:50:37 2011
@@ -21,6 +21,7 @@
#define LLVM_SUPPORT_MALLOCALLOCATOR_H
#include <cstdlib>
+#include <cstddef>
#include <memory>
namespace llvm {
More information about the llvm-commits
mailing list