commit | dfe91cefd25614bc9ac1626d67df4d5ad5d3553f | [log] [tgz] |
---|---|---|
author | Daniel Dunbar <daniel@zuster.org> | Fri Mar 15 20:16:59 2013 +0000 |
committer | Daniel Dunbar <daniel@zuster.org> | Fri Mar 15 20:16:59 2013 +0000 |
tree | 9b28cdc2b33c84d6e2c63bd46e07ca5cc1694a8d | |
parent | 1f81ebcbae0a319a9a62c3a29b4519e4ea40333e [diff] |
[ADT] Fix StringSet::insert() to not allocate on every lookup. - The previous implementation always constructed the StringMap entry, even if the key was present in the set. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177178 91177308-0d34-0410-b5e6-96231b3b80d8