[PATCH] D111215: clang release notes: document the -Wbool-operation improvement

Dávid Bolvanský via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 6 03:00:16 PDT 2021


xbolva00 accepted this revision.
xbolva00 added a comment.
This revision is now accepted and ready to land.

One small comment about side effects, otherwise LG.

Please wait a +-day for potentional review comments.



================
Comment at: clang/docs/ReleaseNotes.rst:54
 
-- ...
+- -Wbitwise-instead-of-logical (part of -Wbool-operation) warns about use of bitwise with boolean operands
 
----------------
I think we should mention that with boolean operands which have side effects.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D111215



More information about the cfe-commits mailing list