[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 10:15:45 PDT 2017
lebedev.ri updated this revision to Diff 114387.
lebedev.ri added a subscriber: jroelofs.
lebedev.ri added a comment.
Rework as per @jroelofs's suggestion to have just one `switch`/`if` cascade that operates on `BinaryOperatorKind`
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.114387.patch
Type: text/x-patch
Size: 9252 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170908/9f64fda6/attachment.bin>
More information about the cfe-commits
mailing list