[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 15:08:41 PDT 2018


xbolva00 updated this revision to Diff 165663.
xbolva00 added a comment.

Added fixit hints


https://reviews.llvm.org/D52137

Files:
  include/clang/Basic/DiagnosticSemaKinds.td
  lib/Sema/SemaExpr.cpp
  test/CXX/drs/dr6xx.cpp
  test/OpenMP/teams_distribute_thread_limit_messages.cpp
  test/OpenMP/teams_thread_limit_messages.cpp
  test/Sema/unary-minus-unsigned.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D52137.165663.patch
Type: text/x-patch
Size: 6102 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180915/1ccde33f/attachment.bin>


More information about the cfe-commits mailing list