firewave wrote: > The lists of symbols grow in the future meams there are some developers > writing new code in this way. I am not sure why they want to add parenthesses > instead just rename the fucntion..
That seems to go beyond this check. It is a readability check about detecting "redundant" parentheses but in those cases they are not redundant. If the added option to to discourage writing such code, then there should not be not option at all and no warning for such cases but a separate check that warns about the pattern. https://github.com/llvm/llvm-project/pull/164827 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
