[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:19:49 PDT 2016


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

Address review comments.

- Rename function to computeConditionalNullability.
- Rewrite the function to compute the nullability of both normal and binary conditional expressions.
- Add more test cases.


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.64551.patch
Type: text/x-patch
Size: 8508 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160719/2929112a/attachment.bin>


More information about the cfe-commits mailing list