================ @@ -241,6 +241,11 @@ New checks Finds common idioms which can be replaced by standard functions from the ``<bit>`` C++20 header. +- New :doc:`modernize-use-std-erase + <clang-tidy/checks/modernize/use-std-erase>` check. + + Replaces erase-remove idiom with C++20's `std::erase` and `std::erase_if` for improved readability. ---------------- EugeneZelenko wrote:
```suggestion Replaces erase-remove idiom with C++20's ``std::erase`` and ``std::erase_if`` for improved readability. ``` https://github.com/llvm/llvm-project/pull/193407 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
