[clang-tools-extra] [clang-tidy] Add readability-redundant-lambda-parentheses check (PR #190438)
Victor Chernyakin via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 7 17:30:39 PDT 2026
localspook wrote:
> 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?
Calculating the location to insert the parens may be tricky. #182916 did essentially that before the functionality was split out because it was so much code to support it.
https://github.com/llvm/llvm-project/pull/190438
More information about the cfe-commits
mailing list