[clang-tools-extra] [clang-tidy][readability-redundant-parentheses] add option to prevent widely used work around (PR #164827)

Congcong Cai via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 28 09:22:32 PDT 2025


HerrCai0907 wrote:

> is option does not help with my problem because it happens with local declarations. So I either have suppressions all over the code or I have an growing lists of symbols I need to add to the configuration.

In my opinion, it shouldn't be too much that macro and function have the same name. The biggest reason to add this options is Microsoft declare min and max in the system header.

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


More information about the cfe-commits mailing list