commit | b5c3bec70e574e53a21e69540c913f74b535a62f | [log] [tgz] |
---|---|---|
author | Joshua Duong <joshuaduong@google.com> | Fri Jul 17 14:14:00 2020 -0700 |
committer | Joshua Duong <joshuaduong@google.com> | Fri Jul 17 14:50:45 2020 -0700 |
tree | 02060aabb3759cd73428082bdfa68dd5f4715bbf | |
parent | 096db1a1c6aa4ff6c642a5d50793affbfc7694b0 [diff] |
[clang-tidy] Add bugprone-inaccurate-erase check. This will hopefully identify misusage of the erase-remove idiom. Test: "foo.erase(std::remove_if(...))" produces error. Test: mmm system/core/adb -j (no warnings) Change-Id: Iba0a6fc40cb6e7c65a7a3926d915874dc89a60c6