commit | ecafd309b3ed2ffc6f8ae7eecd1e7eae84b26f81 | [log] [tgz] |
---|---|---|
author | Benjamin Kramer <benny.kra@googlemail.com> | Mon Mar 26 14:05:40 2012 +0000 |
committer | Benjamin Kramer <benny.kra@googlemail.com> | Mon Mar 26 14:05:40 2012 +0000 |
tree | 0db2b1fd1f5a07c67c3221669a2d65841bd44833 | |
parent | 38f0df352fadc546c5666079fb22de5ec1819d92 [diff] |
ThreadSafetyReporter: Manage diagnostics in a std::list. std::list is expensive, but so is std::sorting a SmallVector of SmallVectors of heavyweight PartialDiagnostics. Saves ~30k in a i386-linux-Release+Asserts clang build. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153437 91177308-0d34-0410-b5e6-96231b3b80d8