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

via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 8 08:22:28 PDT 2025


================
@@ -13,6 +13,10 @@ Coding guidelines that recommend against defaulted lambda captures include:
 
 * Item 31 of Effective Modern C++ by Scott Meyers
 
+This check does not lint for variable-length array (VLA) captures. VLAs are not
----------------
EugeneZelenko wrote:

How about moving before list of guidelines?

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


More information about the cfe-commits mailing list