[clang] [clang-tools-extra] [clang-tidy] Add readability-avoid-default-lambda-capture (PR #160150)

Yanzuo Liu via cfe-commits cfe-commits at lists.llvm.org
Sat Dec 13 05:53:50 PST 2025


https://github.com/zwuis commented:

Please document the option like other checks. Note that the option doesn't work if callees are member functions (e.g. `std::ranges::all_of`), which should be documented.

"ImplicitCaptures" in "IgnoreImplicitCapturesInSTL" seems redundant. Could we make the name shorter? "IgnoreInSTL", "IgnoreInSTLCall", "IgnoreInSTLFunc" or other names?

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


More information about the cfe-commits mailing list