Skip to content
Commit 08a7cb1f authored by Pete Cooper's avatar Pete Cooper
Browse files

When destroying a StringMap, just iterate over the map and destroy the...

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
parent 7bbd5c26
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment