commit | 2945a32ffd0bf079de1b23db12bc8a0de596a167 | [log] [tgz] |
---|---|---|
author | Benjamin Kramer <benny.kra@googlemail.com> | Tue Mar 06 20:40:02 2012 +0000 |
committer | Benjamin Kramer <benny.kra@googlemail.com> | Tue Mar 06 20:40:02 2012 +0000 |
tree | a54746b6880314aa1eca572f0449adb4f491399f | |
parent | 54427e52197ecd8c748736d7bbb431f2bf65c90e [diff] |
SmallPtrSet: Provide a more efficient implementation of swap than the default triple-copy std::swap. This currently assumes that both sets have the same SmallSize to keep the implementation simple, a limitation that can be lifted if someone cares. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152143 91177308-0d34-0410-b5e6-96231b3b80d8