[PATCH] D58878: [Diagnostics] Warn for assignments in bool contexts

Dávid Bolvanský via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 7 07:04:17 PST 2019


xbolva00 updated this revision to Diff 189711.

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

https://reviews.llvm.org/D58878

Files:
  include/clang/Basic/DiagnosticGroups.td
  include/clang/Basic/DiagnosticSemaKinds.td
  lib/Sema/SemaExprCXX.cpp
  test/CodeCompletion/crash-skipped-bodies-template-inst.cpp
  test/CodeCompletion/skip-auto-funcs.cpp
  test/Modules/diag-pragma.c
  test/Modules/diag-pragma.cpp
  test/Sema/assigment-in-bool-context.c
  test/Sema/parentheses.c
  test/SemaCXX/assigment-in-bool-context.cpp
  test/SemaCXX/warn-assignment-condition.cpp
  test/SemaObjC/idiomatic-parentheses.m
  test/SemaObjC/self-assign.m

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D58878.189711.patch
Type: text/x-patch
Size: 20576 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190307/656e6e8f/attachment-0001.bin>


More information about the cfe-commits mailing list