[Sema][ObjC] Compute the nullability of a conditional expression based
authorAkira Hatanaka <ahatanaka@apple.com>
Mon, 25 Jul 2016 21:58:19 +0000 (21:58 +0000)
committerAkira Hatanaka <ahatanaka@apple.com>
Mon, 25 Jul 2016 21:58:19 +0000 (21:58 +0000)
commit9d672b17b74ad1ad27290a6f3daf58defabc1fbc
treec0c15e1743566e1d172b5bb6b5590ffdf4a8973e
parent476fbf46d12fc0359d8788ac8badadaacc8b9873
[Sema][ObjC] Compute the nullability of a conditional expression based
on the nullabilities of its operands.

This commit is a follow-up to r276076 and enables
computeConditionalNullability to compute the merged nullability when
the operands are objective-c pointers.

rdar://problem/22074116

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@276696 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaExpr.cpp
test/SemaObjC/nullability.m