================
@@ -58,7 +58,9 @@ void RedundantParenthesesCheck::registerMatchers(MatchFinder 
*Finder) {
                     memberExpr(), callExpr())),
----------------
gxyd wrote:

> I think this is a better approach. Consider other operators, e.g. !(lhs & 
> rhs).

You are right about this, I missed thinking about this case. I've added robust 
testing in my latest changes.

https://github.com/llvm/llvm-project/pull/192254
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to