diff options
author | Daniel Dunbar <daniel@zuster.org> | 2013-03-15 20:16:59 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2013-03-15 20:16:59 +0000 |
commit | 3145eb8e543bb65acf626b472975004d086f50da (patch) | |
tree | bda4691f2f6d234ce2225cc97c58c385c8c4fc21 /clang-tools-extra/test/cpp11-migrate/UseNullptr/basic.cpp | |
parent | 34794c5b3dd3bbb3ba1fc6632b66663c0e497e0b (diff) | |
download | bcm5719-llvm-3145eb8e543bb65acf626b472975004d086f50da.tar.gz bcm5719-llvm-3145eb8e543bb65acf626b472975004d086f50da.zip |
[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.
llvm-svn: 177178
Diffstat (limited to 'clang-tools-extra/test/cpp11-migrate/UseNullptr/basic.cpp')
0 files changed, 0 insertions, 0 deletions