[clang-tools-extra] Create a new check to look for mis-use in calls that take iterators (PR #99917)
Julian Schmidt via cfe-commits
cfe-commits at lists.llvm.org
Fri Jul 26 11:35:08 PDT 2024
================
@@ -98,6 +98,12 @@ Improvements to clang-tidy
New checks
^^^^^^^^^^
+- New :doc:`bugprone-incorrect-iterators
+ <clang-tidy/checks/bugprone/incorrect-iterators>` check.
+
+ Detects calls to iterator algorithms where they are called with potentially
+ invalid arguments.
----------------
5chmidti wrote:
`where they` -> `that`
https://github.com/llvm/llvm-project/pull/99917
More information about the cfe-commits
mailing list