[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
Fri Sep 8 11:02:40 PDT 2017


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

And finish reducing the code by for-range-loop`ing over array + use `std::array`.


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.114396.patch
Type: text/x-patch
Size: 9231 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170908/2b1b64aa/attachment-0001.bin>


More information about the cfe-commits mailing list