[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 19 11:58:08 PDT 2017


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

1. Correctly added `TautologicalUnsignedEnumZeroCompare` to `TautologicalCompare` group (sigh)
2. Hopefully fixed spelling of the comments and added a bit better comments
3. Fixed variable names to comply with the coding style.


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.115877.patch
Type: text/x-patch
Size: 10882 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170919/b3ab4551/attachment-0001.bin>


More information about the cfe-commits mailing list