[PATCH] D22392: [Sema] Fix an invalid nullability warning for binary conditional operators

Akira Hatanaka via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 19 13:39:57 PDT 2016


ahatanak updated this revision to Diff 64557.
ahatanak added a comment.

Remove the check "if (LHSKind == RHSKind)" in computeConditionalNullability as it's not needed.


https://reviews.llvm.org/D22392

Files:
  lib/Sema/SemaExpr.cpp
  test/Sema/nullability.c
  test/SemaCXX/nullability.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22392.64557.patch
Type: text/x-patch
Size: 8440 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160719/73314177/attachment-0001.bin>


More information about the cfe-commits mailing list