[PATCH] D85097: [Sema] add warning for comparisons like 'x<=y<=z'

Vince Bridgers via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 5 17:09:19 PDT 2020


vabridgers updated this revision to Diff 283447.
vabridgers added a comment.

added prototype fixits for review.
added additional RUN test case.
filed https://bugs.llvm.org/show_bug.cgi?id=47010 for other 
warnings improvement post landing of this patch, after lgtm


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D85097/new/

https://reviews.llvm.org/D85097

Files:
  clang/docs/DiagnosticsReference.rst
  clang/include/clang/Basic/DiagnosticGroups.td
  clang/include/clang/Basic/DiagnosticSemaKinds.td
  clang/lib/Sema/SemaExpr.cpp
  clang/test/Misc/warning-wall.c
  clang/test/Sema/warn-compare-op-parentheses.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D85097.283447.patch
Type: text/x-patch
Size: 24512 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200806/f8681675/attachment-0001.bin>


More information about the cfe-commits mailing list