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
Please register or sign in to comment