diff options
author | Chris Lattner <sabre@nondot.org> | 2011-01-03 01:29:37 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2011-01-03 01:29:37 +0000 |
commit | 61a10a0dc91863b70002cc412a1277357d6a4b45 (patch) | |
tree | 5815722dc1c694d1665b9943afefa5c5c5766161 /include/llvm/ADT/StringMap.h | |
parent | d957c717918c412402157b85fc51b4c6d2631381 (diff) | |
download | external_llvm-61a10a0dc91863b70002cc412a1277357d6a4b45.tar.gz external_llvm-61a10a0dc91863b70002cc412a1277357d6a4b45.tar.bz2 external_llvm-61a10a0dc91863b70002cc412a1277357d6a4b45.zip |
Enhance ScopedHashTable to allow it to take an allocator argument.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122721 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ADT/StringMap.h')
-rw-r--r-- | include/llvm/ADT/StringMap.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/llvm/ADT/StringMap.h b/include/llvm/ADT/StringMap.h index 752f55c226..bad0e6f513 100644 --- a/include/llvm/ADT/StringMap.h +++ b/include/llvm/ADT/StringMap.h @@ -242,9 +242,6 @@ public: }; -template <typename T> struct ReferenceAdder { typedef T& result; }; -template <typename T> struct ReferenceAdder<T&> { typedef T result; }; - /// StringMap - This is an unconventional map that is specialized for handling /// keys that are "strings", which are basically ranges of bytes. This does some /// funky memory allocation and hashing things to make it extremely efficient, |