[PATCH] D66044: Extend -Wtautological-overlap-compare to accept negative values and integer conversions
JF Bastien via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Aug 10 09:03:53 PDT 2019
jfb added inline comments.
================
Comment at: test/Sema/warn-unreachable.c:437
+ if (~ 1)
return; // CHECK-NOT: fix-it:"{{.*}}":{[[@LINE-1]]
unaryOpNoFixit(); // expected-warning {{code will never be executed}}
----------------
Why this change?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D66044/new/
https://reviews.llvm.org/D66044
More information about the cfe-commits
mailing list