[llvm] r227757 - Include cstddef in EquivalenceClasses.h
Adam Nemet
anemet at apple.com
Sun Feb 1 09:21:06 PST 2015
Author: anemet
Date: Sun Feb 1 11:21:06 2015
New Revision: 227757
URL: http://llvm.org/viewvc/llvm-project?rev=227757&view=rev
Log:
Include cstddef in EquivalenceClasses.h
This is to try to appease bots complaining that ptrdiff_t is undefined in
LoopAccessAnalysis.cpp.
Modified:
llvm/trunk/include/llvm/ADT/EquivalenceClasses.h
Modified: llvm/trunk/include/llvm/ADT/EquivalenceClasses.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ADT/EquivalenceClasses.h?rev=227757&r1=227756&r2=227757&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ADT/EquivalenceClasses.h (original)
+++ llvm/trunk/include/llvm/ADT/EquivalenceClasses.h Sun Feb 1 11:21:06 2015
@@ -17,6 +17,7 @@
#include "llvm/Support/DataTypes.h"
#include <cassert>
+#include <cstddef>
#include <set>
namespace llvm {
More information about the llvm-commits
mailing list