balazske wrote: > Could we make sure that new check also correctly warns on all test cases from > `assignment-in-if-condition`.
That check produces warning even in the `if ((a = b))` case which is ignored by this check. To have a similar check only an option can be added that enables warning even in the extra parentheses case. https://github.com/llvm/llvm-project/pull/180219 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
