[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 14:14:02 PDT 2019


xbolva00 added a comment.

That comment explains why this is not by default (= without any -W flag) but does not explain why this is not part of -Wall (if user enables -Wall, he/she cares about warnings) [you asked about default ignore].

We have many warnings flagged as DefaultIgnore but they are part of -Wall.


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