commit | 89169a372fd67862398f486bce5aea711b9274d3 | [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 | 469cc3d916f889d2dc2672a9da51e38dbf9ad544 | |
parent | a22e74cd4e4e1212e843ba4540ea624ecea073fc [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