[PATCH] D16360: unordered_map: Avoid unnecessary mallocs when no insert occurs
Duncan P. N. Exon Smith via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 16 15:33:19 PDT 2016
dexonsmith updated this revision to Diff 50883.
dexonsmith added a comment.
Eric sent me his preferred tests, which look fine to me. I've applied them to this patch.
http://reviews.llvm.org/D16360
Files:
include/__hash_table
test/libcxx/containers/unord/unord.set/insert_dup_alloc.pass.cpp
test/std/containers/unord/unord.map/unord.map.modifiers/insert_allocator_requirements.pass.cpp
test/std/containers/unord/unord.map/unord.map.modifiers/insert_and_emplace_allocator_requirements.pass.cpp
test/std/containers/unord/unord.set/insert_allocator_requirements.pass.cpp
test/std/containers/unord/unord.set/insert_and_emplace_allocator_requirements.pass.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16360.50883.patch
Type: text/x-patch
Size: 27558 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160316/ff626362/attachment-0001.bin>
More information about the cfe-commits
mailing list