[PATCH] D25731: [analyzer] NumberObjectConversion: Support OSNumber and CFNumberRef.

Artem Dergachev via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 27 08:49:00 PDT 2016


NoQ updated this revision to Diff 76043.
NoQ added a comment.

- Fix warning messages, finally, hopefully.
- Make handling of macros much more careful, because errors of form `x == Y`, where X is an `NSNumber` pointer, and `Y` is a custom macro that expands to `0`, were found.


https://reviews.llvm.org/D25731

Files:
  lib/StaticAnalyzer/Checkers/NumberObjectConversionChecker.cpp
  test/Analysis/number-object-conversion.c
  test/Analysis/number-object-conversion.cpp
  test/Analysis/number-object-conversion.m

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25731.76043.patch
Type: text/x-patch
Size: 33450 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161027/8d86bac9/attachment-0001.bin>


More information about the cfe-commits mailing list