[clang] [clang-tools-extra] [clang-tidy] Add readability-avoid-default-lambda-capture (PR #160150)
JJ Marr via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 8 08:23:22 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
----------------
jjmarr-amd wrote:
It seemed like a post-script to me, but sure.
https://github.com/llvm/llvm-project/pull/160150
More information about the cfe-commits
mailing list