[PATCH] D13643: [Sema] Warn on ternary comparison

Matěj Grabovský via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 21 04:30:16 PDT 2015


mgrabovsky updated this revision to Diff 37985.
mgrabovsky added a comment.

Fix comparisons with implicit casts and mismatched types


http://reviews.llvm.org/D13643

Files:
  include/clang/Basic/DiagnosticSemaKinds.td
  lib/Sema/SemaChecking.cpp
  test/Sema/bool-compare.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13643.37985.patch
Type: text/x-patch
Size: 5732 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20151021/6f71ac34/attachment-0001.bin>


More information about the cfe-commits mailing list