[PATCH] D22968: [analyzer] A checker for macOS-specific bool- and number-like objects.

Artem Dergachev via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 18 03:43:35 PDT 2016


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

- Support conversion though function calls.
- Move "if (x == 0)" to pedantic for now (too loud).


https://reviews.llvm.org/D22968

Files:
  include/clang/StaticAnalyzer/Checkers/Checkers.td
  lib/StaticAnalyzer/Checkers/CMakeLists.txt
  lib/StaticAnalyzer/Checkers/NumberObjectConversionChecker.cpp
  test/Analysis/Inputs/system-header-simulator-objc.h
  test/Analysis/number-object-conversion.cpp
  test/Analysis/number-object-conversion.m

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


More information about the cfe-commits mailing list