[clang-tools-extra] Add checks to convert std library iterator algorithms into c++20 or boost ranges (PR #97764)

via cfe-commits cfe-commits at lists.llvm.org
Sun Jul 7 06:32:23 PDT 2024


================
@@ -169,6 +175,12 @@ New checks
   Finds initializer lists for aggregate types that could be
   written as designated initializers instead.
 
+- New :doc:`modernize-use-ranges
+  <clang-tidy/checks/modernize/use-ranges>` check.
+
+  Detects calls to standard library iterator algorithms that could be replaced
+  with a ranges version instead
----------------
EugeneZelenko wrote:

```suggestion
  with a ranges version instead.
```

https://github.com/llvm/llvm-project/pull/97764


More information about the cfe-commits mailing list