diff options
| author | Pete Cooper <peter_cooper@apple.com> | 2014-03-19 00:23:30 +0000 |
|---|---|---|
| committer | Pete Cooper <peter_cooper@apple.com> | 2014-03-19 00:23:30 +0000 |
| commit | 08a7cb1fa0dfa4e54acb973be3514a34571a1ac7 (patch) | |
| tree | f7f69e6d4dbf413f235e271f33b2aabb8c80ea81 /llvm/tools/llvm-size | |
| parent | 7bbd5c2636487b25715cf637a061bd5add5c9d9c (diff) | |
| download | bcm5719-llvm-08a7cb1fa0dfa4e54acb973be3514a34571a1ac7.tar.gz bcm5719-llvm-08a7cb1fa0dfa4e54acb973be3514a34571a1ac7.zip | |
When destroying a StringMap, just iterate over the map and destroy the contained elements. Don't reset them back to 0 as their values aren't needed any more. This results in ~StringMap() being mostly empty for POD types in BumpPtrAllocators
llvm-svn: 204204
Diffstat (limited to 'llvm/tools/llvm-size')
0 files changed, 0 insertions, 0 deletions

