[PATCH] D37629: [Sema] Move some stuff into -Wtautological-unsigned-enum-zero-compare

Roman Lebedev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 12 10:20:56 PDT 2017


lebedev.ri updated this revision to Diff 114861.
lebedev.ri added a comment.

Aaaand revert back to dump approach with code duplication as requested :)

(For the second part of the fix in another differential, if the reverted approach with struct turns out to be better, i guess i will use it)


Repository:
  rL LLVM

https://reviews.llvm.org/D37629

Files:
  include/clang/Basic/DiagnosticGroups.td
  include/clang/Basic/DiagnosticSemaKinds.td
  lib/Sema/SemaChecking.cpp
  test/Sema/compare.c
  test/Sema/tautological-unsigned-enum-zero-compare.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37629.114861.patch
Type: text/x-patch
Size: 9339 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170912/d60a1921/attachment-0001.bin>


More information about the cfe-commits mailing list