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

Dávid Bolvanský via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 17 05:40:00 PDT 2019


xbolva00 created this revision.
xbolva00 added reviewers: jfb, rsmith.
Herald added subscribers: cfe-commits, dexonsmith.
Herald added a project: clang.

Motivation:
https://twitter.com/jfbastien/status/1139298419988549632
https://twitter.com/mikemx7f/status/1139335901790625793
https://codesearch.isocpp.org/cgi-bin/cgi_ppsearch?q=10+%5E&search=Search


Repository:
  rC Clang

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.205049.patch
Type: text/x-patch
Size: 5234 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190617/e66b2279/attachment-0001.bin>


More information about the cfe-commits mailing list