[PATCH] D63082: [Diagnostics] Added support for -Wint-in-bool-context

Dávid Bolvanský via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 2 14:03:40 PDT 2019


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

Implemented suggested "mul in bool context" diagnostic.


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

https://reviews.llvm.org/D63082

Files:
  include/clang/Basic/DiagnosticGroups.td
  include/clang/Basic/DiagnosticSemaKinds.td
  lib/Sema/SemaChecking.cpp
  test/Sema/warn-int-in-bool-context.c
  test/Sema/warn-unreachable.c
  test/SemaCXX/nested-name-spec.cpp
  test/SemaCXX/warn-int-in-bool-context.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63082.207623.patch
Type: text/x-patch
Size: 18278 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190702/7d7282c8/attachment-0001.bin>


More information about the cfe-commits mailing list