[clang-tools-extra] [clang-tidy] Add readability-redundant-lambda-parentheses check (PR #190438)
via cfe-commits
cfe-commits at lists.llvm.org
Sat Apr 4 09:12:23 PDT 2026
OmarAzizi wrote:
@5chmidti Thank you for the review. I moved the parameter count, explicit parameters, and generic lambda C++20 checks into custom AST matchers, and added `TK_IgnoreUnlessSpelledInSource` as the traversal kind.
> I can see the request for the inverse coming, why not make this check flag the redundant parens by default, but you can invert the logic to flag missing redundant parens as well?
Also, I'm Happy to add this as a follow-up PR to keep the scope of this one minimal.
https://github.com/llvm/llvm-project/pull/190438
More information about the cfe-commits
mailing list