[PATCH] D27600: [analyzer] Refine the diagnostics in the nullability checker to differentiate between nil and null

Devin Coughlin via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 15 11:17:18 PST 2016


dcoughlin accepted this revision.
dcoughlin added a comment.
This revision is now accepted and ready to land.

Looks good.

While you are here, you might consider changing: the checkBind() diagnostic to match the other diagnostics:

"Null assigned to a pointer which is expected to have non-null value" --> "Null assigned to a pointer which is expected to have *a* non-null value"


https://reviews.llvm.org/D27600





More information about the cfe-commits mailing list