[PATCH] D41512: [Sema] -Wtautological-constant-compare is too good. Cripple it.
Roman Lebedev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 2 13:49:04 PST 2018
lebedev.ri updated this revision to Diff 128462.
lebedev.ri marked 3 inline comments as done.
lebedev.ri added a comment.
Renamed `TautologicalRangeCompare` to `TautologicalInRangeCompare`.
Given that previous version of this differential was already previously accepted,
and the fact that this needs to happen before the branch, which is rapidly approaching,
i'm going to proceed to committing this now.
Repository:
rC Clang
https://reviews.llvm.org/D41512
Files:
include/clang/Basic/DiagnosticGroups.td
include/clang/Basic/DiagnosticSemaKinds.td
test/Sema/compare.c
test/Sema/tautological-constant-compare.c
test/Sema/tautological-constant-enum-compare.c
test/Sema/tautological-unsigned-enum-zero-compare.c
test/Sema/tautological-unsigned-enum-zero-compare.cpp
test/Sema/tautological-unsigned-zero-compare.c
test/SemaCXX/compare.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41512.128462.patch
Type: text/x-patch
Size: 11464 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180102/0a14c54a/attachment.bin>
More information about the cfe-commits
mailing list