[PATCH] D52137: Added warning for unary minus used with unsigned type

Dávid Bolvanský via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Sep 15 11:23:05 PDT 2018


xbolva00 added a comment.

The first is not broken, but it is now detected by this new check. I think the second form is more explicit and better.


https://reviews.llvm.org/D52137





More information about the cfe-commits mailing list