diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2014-04-18 14:54:51 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2014-04-18 14:54:51 +0000 |
commit | d781e40b6a3fe4a0dfcf9b1e4100c8664b2f3918 (patch) | |
tree | 518cb1a62c2c68f40929b5c3c2f6326002a32cb3 /include/llvm/Support/Allocator.h | |
parent | f34a512a68aecdc5c6a70dffac64223abfa233fa (diff) | |
download | llvm-d781e40b6a3fe4a0dfcf9b1e4100c8664b2f3918.tar.gz llvm-d781e40b6a3fe4a0dfcf9b1e4100c8664b2f3918.tar.bz2 llvm-d781e40b6a3fe4a0dfcf9b1e4100c8664b2f3918.tar.xz |
Allocator: Remove ReferenceAdder hack.
This was a workaround for compilers that had issues with reference
collapsing.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206612 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/Allocator.h')
-rw-r--r-- | include/llvm/Support/Allocator.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/llvm/Support/Allocator.h b/include/llvm/Support/Allocator.h index 774363fb49..7a7e4c0a13 100644 --- a/include/llvm/Support/Allocator.h +++ b/include/llvm/Support/Allocator.h @@ -32,12 +32,6 @@ #include <cstdlib> namespace llvm { -template <typename T> struct ReferenceAdder { - typedef T &result; -}; -template <typename T> struct ReferenceAdder<T &> { - typedef T result; -}; /// \brief CRTP base class providing obvious overloads for the core \c /// Allocate() methods of LLVM-style allocators. |