OSDN Git Service

DenseMap.h needs <new> because it explicitly calls operator new/delete.
authorChris Lattner <sabre@nondot.org>
Sat, 25 Apr 2009 19:50:14 +0000 (19:50 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 25 Apr 2009 19:50:14 +0000 (19:50 +0000)
Patch by John McCall!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70068 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/ADT/DenseMap.h

index cb95181..07995d7 100644 (file)
@@ -18,6 +18,7 @@
 #include "llvm/Support/MathExtras.h"
 #include <cassert>
 #include <utility>
+#include <new>
 
 namespace llvm {