[clang-tools-extra] [clang-tidy] Add readability-redundant-lambda-parentheses check (PR #190438)

via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 6 05:33:47 PDT 2026


================
@@ -0,0 +1,38 @@
+// RUN: %check_clang_tidy -std=c++17 %s readability-redundant-lambda-parentheses %t
----------------
OmarAzizi wrote:

@localspook Good point, I've merged the three test files into a single file using `-check-suffixes` and `#if` guards. The unsuffixed `CHECK-MESSAGES` annotations cover all standards, `CHECK-MESSAGES-CXX20` covers C++20 and later, and `CHECK-MESSAGES-CXX23` covers C++23 only.

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


More information about the cfe-commits mailing list