[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:12:38 PDT 2020


vabridgers added a comment.

I added prototype fixits per request by Roman, updated the LIT test, and added an additional RUN line (one for -Wparentheses and one for -Wcompare-op-parentheses). Also filed https://bugs.llvm.org/show_bug.cgi?id=47010 to follow up on the FIXME cases at the bottom of the LIT since they are out of scope for this change. Thanks for the feedback and comments so far, I look forward to driving this change to completion.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D85097



More information about the cfe-commits mailing list