Page MenuHomePhabricator

Combined patch for new warning work
Needs ReviewPublic

Authored by rtrieu on Aug 9 2019, 7:01 PM.
This revision needs review, but there are no reviewers specified.



Combined patch that contains: - New precedence warning for mixing bitwise and/or with conditional operator - -Wtautological-overlap-compare to work on negative numbers - Better detection of same value operands for tautological warnings - New warning -Wtautological-bitwise-compare to check for non-zero value bitwise-or in bool context

These are improvements to -Wparentheses, -Wtautological-compare, and -Wtautological-overlap-compare with new warning -Wtautological-bitwise-compare.

Diff Detail

Event Timeline

rtrieu created this revision.Aug 9 2019, 7:01 PM
rtrieu updated this revision to Diff 214974.Aug 13 2019, 4:36 PM

Better handling of arrays in self compares.