Shrink SmallPtrSet. It gets swapped a lot which copies the whole small part.
authorBenjamin Kramer <benny.kra@googlemail.com>
Sat, 23 Feb 2013 16:56:22 +0000 (16:56 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Sat, 23 Feb 2013 16:56:22 +0000 (16:56 +0000)
commit2b0013e93bc4b2fb3ed5f44aa116e34af0d85679
tree32e48b8f88a1a9afc889b291c3306c88a0ddd8a1
parent24ebf7c92c03ef940c491d25905e7513ef08b20a
Shrink SmallPtrSet. It gets swapped a lot which copies the whole small part.

Testing shows that it's empty in >99% of the cases and I couldn't find a case
where it contained more than 2 elements.

llvm-svn: 175967
clang/include/clang/Sema/Sema.h