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

Baranov Victor via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 9 11:55:29 PDT 2025


================
@@ -0,0 +1,143 @@
+// RUN: %check_clang_tidy %s readability-avoid-default-lambda-capture %t -- -- -Wno-vla-extension
----------------
vbvictor wrote:

Why do we need `-Wno-vla-extension`? What happens when user have vla-extension? Could we remove it or add a second run without this option? AFAIK nothing would change without it?

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


More information about the cfe-commits mailing list