commit | a23650bc0161716aadba97e2e5f92eac7c11d80b | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Fri Jul 23 03:29:59 2010 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Fri Jul 23 03:29:59 2010 +0000 |
tree | 3933098632fc68578cdec63a1ddd54f524d045d0 | |
parent | d69121b3c5c9c89ab9ad7c9c71b13b3a1fcde40d [diff] |
give StringMap a new ctor which allows you to initialize it with an existing allocator. The interesting use case of this is that it allows "StringMap<whatever, BumpPtrAllocator&>" for when you want to allocate out of a preexisting bump pointer allocator owned by someone else. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109213 91177308-0d34-0410-b5e6-96231b3b80d8