[clang] [clang-tools-extra] [clang-tidy] Add readability-avoid-default-lambda-capture (PR #160150)
Piotr Zegar via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 16 14:18:29 PDT 2025
================
@@ -0,0 +1,57 @@
+.. title:: clang-tidy - readability-avoid-default-lambda-capture
+
+readability-avoid-default-lambda-capture
+========================================
+
+Warns on default lambda captures (e.g. ``[&](){ ... }``, ``[=](){ ... }``).
+
----------------
PiotrZSL wrote:
mention somewere that check provide autofixes
https://github.com/llvm/llvm-project/pull/160150
More information about the cfe-commits
mailing list