[PATCH] D38101: [Sema] Diagnose tautological comparison with type's min/max values

Roman Lebedev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 25 05:04:30 PDT 2017


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

- Fixed handling of types > 64 bit (e.g. `__int128`), testcase added
- Stage-2 build now fully passes (only one new warning, https://reviews.llvm.org/D38132)
- Updated ReleaseNotes.rst


Repository:
  rL LLVM

https://reviews.llvm.org/D38101

Files:
  docs/ReleaseNotes.rst
  include/clang/Basic/DiagnosticGroups.td
  include/clang/Basic/DiagnosticSemaKinds.td
  lib/Sema/SemaChecking.cpp
  test/Sema/outof-range-constant-compare.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38101.116465.patch
Type: text/x-patch
Size: 18317 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170925/e8e05290/attachment.bin>


More information about the cfe-commits mailing list