[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
Wed Oct 15 13:15:59 PDT 2025
================
@@ -0,0 +1,179 @@
+// RUN: %check_clang_tidy %s readability-avoid-default-lambda-capture %t -- -- -Wno-vla-extension -std=c++20
----------------
vbvictor wrote:
Make different runs for different c++ standards, first for 11,14,17, second for c++20-or-later.
And place -std into `%check_clang_tidy` args
https://github.com/llvm/llvm-project/pull/160150
More information about the cfe-commits
mailing list