summaryrefslogtreecommitdiff
path: root/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 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@343560 91177308-0d34-0410-b5e6-96231b3b80d8