HomePhabricator

[analyzer] RetainCount: Fix os_returns_retained_on_zero with weird return types.

Authored by dergachev.a on May 15 2019, 11:41 AM.

Description

[analyzer] RetainCount: Fix os_returns_retained_on_zero with weird return types.

The checker was crashing when it was trying to assume a structure
to be null or non-null so that to evaluate the effect of the annotation.

Differential Revision: https://reviews.llvm.org/D61958

llvm-svn: 360790