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

Anna Zaks via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 9 04:00:01 PST 2016


zaks.anna created this revision.
zaks.anna added a reviewer: dcoughlin.
zaks.anna added subscribers: dergachev.a, cfe-commits.

This is a big deal for ObjC, where nullability annotations are extensively used. I've also changed "Null" -> "null" and removed "is" as this is the pattern that Sema is using.


https://reviews.llvm.org/D27600

Files:
  lib/StaticAnalyzer/Checkers/NullabilityChecker.cpp
  test/Analysis/nullability-no-arc.mm
  test/Analysis/nullability.mm
  test/Analysis/nullability_nullonly.mm

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27600.80843.patch
Type: text/x-patch
Size: 10133 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161209/8bdcd30b/attachment-0001.bin>


More information about the cfe-commits mailing list