[clang-tools-extra] [clang-tidy] Make range source classes configurable (PR #226193)
Baranov Victor via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 29 00:44:08 PDT 2026
================
@@ -257,6 +257,11 @@ infrastructure are described first, followed by tool-specific sections.
offered when an argument covers only part of a macro expansion, as it then
has no source text of its own.
+- Improved {doc}`performance-inefficient-vector-operation
+ <clang-tidy/checks/performance/inefficient-vector-operation>` by adding the
+ {option}`ForRangeLoopClasses` to configure container classes that can be used
+ as sources in range-based for loops.
----------------
vbvictor wrote:
```suggestion
as sources in range-based ``for`` loops.
```
https://github.com/llvm/llvm-project/pull/226193
More information about the cfe-commits
mailing list