[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:28:35 PDT 2019


xbolva00 updated this revision to Diff 205636.
xbolva00 added a comment.

Added support to warn in macros.
Renamed to -Wxor-used-as-pow.


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

https://reviews.llvm.org/D63423

Files:
  include/clang/Basic/DiagnosticGroups.td
  include/clang/Basic/DiagnosticSemaKinds.td
  lib/Sema/SemaExpr.cpp
  test/SemaCXX/warn-xor-as-pow.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63423.205636.patch
Type: text/x-patch
Size: 12530 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190619/3ac448cf/attachment-0001.bin>


More information about the cfe-commits mailing list