[PATCH] D66046: Add new tautological compare warning for bitwise-or with a non-zero constant

Dávid Bolvanský via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 21 12:03:56 PDT 2019


xbolva00 added a subscriber: aaron.ballman.
xbolva00 added a comment.

This needs explicit -Wtautological-compare - which makes me sad (useful warning but hidden for users).

cc @aaron.ballman


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D66046





More information about the cfe-commits mailing list