[clang-tools-extra] [clang-tidy] Add `AllowExplicitObjectParameters` option to `avoid-capturing-lambda-coroutines` (PR #182916)
Baranov Victor via cfe-commits
cfe-commits at lists.llvm.org
Fri Apr 3 00:33:02 PDT 2026
================
@@ -0,0 +1,93 @@
+// RUN: %check_clang_tidy -std=c++23 %s cppcoreguidelines-avoid-capturing-lambda-coroutines %t \
+// RUN: -- -config='{CheckOptions: {cppcoreguidelines-avoid-capturing-lambda-coroutines.AllowExplicitObjectParameters: true}}' \
----------------
vbvictor wrote:
Please add test in main file that we still warn on EOP by default (that option is false)
https://github.com/llvm/llvm-project/pull/182916
More information about the cfe-commits
mailing list