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

Artem Dergachev via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 7 01:21:59 PDT 2016


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

- Rename test files for consistency.
- Suppress false positives on `intptr_t`.
- Add a triple to the tests to in order to stop worrying about integer types.


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.73889.patch
Type: text/x-patch
Size: 20494 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161007/a1166938/attachment-0001.bin>


More information about the cfe-commits mailing list