]> granicus.if.org Git - clang/commit
Use remove_if to erase parts of a vector. Avoids O(n^2) worst cases.
authorBenjamin Kramer <benny.kra@googlemail.com>
Sun, 5 May 2013 12:39:28 +0000 (12:39 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Sun, 5 May 2013 12:39:28 +0000 (12:39 +0000)
commitfe57db23431463e137c4aaf01d999165c84b0e9f
treeb9ab2cf4c56a1a103856561c5ff3ddaedad412f4
parent566bf620e1b52860b641e0feae910d40ce883afc
Use remove_if to erase parts of a vector. Avoids O(n^2) worst cases.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@181150 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Frontend/ASTUnit.cpp