[clang-tools-extra] [clang-tidy] Add readability-default-lambda-capture (PR #160150)
JJ Marr via cfe-commits
cfe-commits at lists.llvm.org
Mon Sep 29 10:30:08 PDT 2025
================
@@ -0,0 +1,110 @@
+// RUN: %check_clang_tidy %s readability-avoid-default-lambda-capture %t
+
+void test_default_captures() {
----------------
jjmarr-amd wrote:
add a test for the fancy new form of lambda-capture where an assignment happens.
https://github.com/llvm/llvm-project/pull/160150
More information about the cfe-commits
mailing list