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

Artem Dergachev via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 18 08:34:39 PDT 2016


NoQ created this revision.
NoQ added reviewers: zaks.anna, dcoughlin.
NoQ added a subscriber: cfe-commits.

`CFNumberRef`, much like `NSNumber*`, can also be accidentally mistaken for a numeric value, so it is worth it to support this type in our new `NumberObjectConversion` checker.


https://reviews.llvm.org/D25731

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25731.75011.patch
Type: text/x-patch
Size: 6710 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161018/ab53521a/attachment-0001.bin>


More information about the cfe-commits mailing list