================ @@ -286,6 +286,11 @@ Changes in existing checks check by resolving fix-it overlaps in template code by disregarding implicit instances. +- Improved :doc:`readability-string-compare + <clang-tidy/checks/readability/string-compare>` check to also detect + usages of `std::string_view::compare`. Added a `StringLikeClasses` option + to detect usages of `compare` method in custom string-like classes. ---------------- EugeneZelenko wrote:
```suggestion to detect usages of ``compare`` method in custom string-like classes. ``` https://github.com/llvm/llvm-project/pull/88636 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits