[PATCH] D29857: Catch trivially true statements of the form a != 1 || a != 3. Statements likethese are likely errors. They are particularly easy to miss when handling enums:enum State {RUNNING, STOPPED, STARTING, ENDING}...if (state != RUNNING || state !=...

Etienne Bergeron via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 13 08:27:28 PST 2017


etienneb added a comment.

which one is the final version?

https://reviews.llvm.org/D25946

Please close one of them.


https://reviews.llvm.org/D29857





More information about the cfe-commits mailing list