summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/unary-minus-integer-impcast.c
Commit message (Collapse)AuthorAgeFilesLines
* Added warning for unary minus used with unsigned typeDavid Bolvansky2018-10-021-0/+20
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
OpenPOWER on IntegriCloud