[clang-tools-extra] [clang-tidy] Add readability-redundant-lambda-parentheses check (PR #190438)
Victor Chernyakin via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 9 13:18:26 PDT 2026
localspook wrote:
> Also regarding splitting into two checks, should I do that or just rename and leave the requires expression extension for a follow-up PR?
Requires expressions should be a separate PR. I'm personally in favour of adding them as a separate check instead of as options. With separate checks, the weird state of "user enabled the check but disabled all its options" is impossible.
> So did we agree to rename to `readability-redundant-parameter-list`?
I agree that `parameter-list` is a bit clearer than `parentheses`. But I think what @unterumarmung had in mind was `readability-redundant-lambda-parameter-list`?
https://github.com/llvm/llvm-project/pull/190438
More information about the cfe-commits
mailing list