[llvm-commits] [llvm] r70068 - /llvm/trunk/include/llvm/ADT/DenseMap.h
Chris Lattner
sabre at nondot.org
Sat Apr 25 12:50:29 PDT 2009
Author: lattner
Date: Sat Apr 25 14:50:14 2009
New Revision: 70068
URL: http://llvm.org/viewvc/llvm-project?rev=70068&view=rev
Log:
DenseMap.h needs <new> because it explicitly calls operator new/delete.
Patch by John McCall!
Modified:
llvm/trunk/include/llvm/ADT/DenseMap.h
Modified: llvm/trunk/include/llvm/ADT/DenseMap.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ADT/DenseMap.h?rev=70068&r1=70067&r2=70068&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ADT/DenseMap.h (original)
+++ llvm/trunk/include/llvm/ADT/DenseMap.h Sat Apr 25 14:50:14 2009
@@ -18,6 +18,7 @@
#include "llvm/Support/MathExtras.h"
#include <cassert>
#include <utility>
+#include <new>
namespace llvm {
More information about the llvm-commits
mailing list