[clang-tools-extra] [clang-tidy] Make range source classes configurable (PR #226193)
via cfe-commits
cfe-commits at lists.llvm.org
Sun Sep 27 23:43:56 PDT 2026
================
@@ -59,6 +59,15 @@ Options
Semicolon-separated list of names of vector-like classes. By default only
``::std::vector`` is considered.
+.. option:: RangeLikeClasses
+
+ Semicolon-separated list of names of container classes that can be used as
+ sources in range-based for loops. Each configured class must provide an
+ accessible ``size()`` method whose result is the number of elements visited
+ by the loop. The configured list replaces the default list, which contains
----------------
algol83 wrote:
Done in 760dd03. The documentation now says “Defaults to ...”.
https://github.com/llvm/llvm-project/pull/226193
More information about the cfe-commits
mailing list