commit | cf7d2256d6b226421fced739b13ec1b380eb1fd5 | [log] [tgz] |
---|---|---|
author | David Bolvansky <david.bolvansky@gmail.com> | Tue Oct 02 06:02:30 2018 +0000 |
committer | David Bolvansky <david.bolvansky@gmail.com> | Tue Oct 02 06:02:30 2018 +0000 |
tree | 02f41ec92dc02b8cbc0d4c7677527bab854cb345 | |
parent | ab41193312ff0fd06648c1bad63f02d36578dfb8 [diff] |
Added warning for unary minus used with unsigned type Summary: Inspired by MSVC, which found some occurrences of this expression on our code base. Fixes PR38950 Reviewers: rsmith, craig.topper, spatel, RKSimon, aaron.ballman, thakis Reviewed By: rsmith Subscribers: joerg, Quuxplusone, lebedev.ri, craig.topper, RKSimon, cfe-commits Differential Revision: https://reviews.llvm.org/D52137 llvm-svn: 343560