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

Baranov Victor via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 9 10:56:59 PDT 2026


vbvictor wrote:

> Here, I think, it makes sense to make this under one check called readability-redundant-parameter-list

If we have two completely separate matchers which are later handleded in two separate "paths" inside `check` method - then I'd argue we need two separate checks.

Also I imagine some users will want to preserve `()` in lambdas but omit `()` in requires
and imho it's easier to turn-off a check than to mess with check-options.

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


More information about the cfe-commits mailing list