[PATCH] D63423: [Diagnostics] Diagnose misused xor as pow

Dávid Bolvanský via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 19 10:58:22 PDT 2019


xbolva00 added a comment.

In D63423#1550725 <https://reviews.llvm.org/D63423#1550725>, @lebedev.ri wrote:

> I've always been frustrated at how clang just gives up as soon as it sees a macro.
>  At best that should be controlled with some command-line flag.


I cannot promise nothing, but maybe I could do -Wxor-used-as-pow-in-macro (off by default) so people could try it and see how noisy it would be :)


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

https://reviews.llvm.org/D63423





More information about the cfe-commits mailing list