diff options
author | Chris Lattner <sabre@nondot.org> | 2009-04-25 19:50:14 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-04-25 19:50:14 +0000 |
commit | 2af50255dadc29ec936953c2fb39a3870e30e262 (patch) | |
tree | c3b364842c92b4c22ebfbe8b1ccd23d6e5c48315 /include/llvm/ADT | |
parent | 981440ebbeef2674ea1c931b4c11534003284e01 (diff) | |
download | external_llvm-2af50255dadc29ec936953c2fb39a3870e30e262.zip external_llvm-2af50255dadc29ec936953c2fb39a3870e30e262.tar.gz external_llvm-2af50255dadc29ec936953c2fb39a3870e30e262.tar.bz2 |
DenseMap.h needs <new> because it explicitly calls operator new/delete.
Patch by John McCall!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70068 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ADT')
-rw-r--r-- | include/llvm/ADT/DenseMap.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/ADT/DenseMap.h b/include/llvm/ADT/DenseMap.h index cb95181..07995d7 100644 --- a/include/llvm/ADT/DenseMap.h +++ b/include/llvm/ADT/DenseMap.h @@ -18,6 +18,7 @@ #include "llvm/Support/MathExtras.h" #include <cassert> #include <utility> +#include <new> namespace llvm { |