llvm-project/clang/test/Analysis/Inputs
Artem Dergachev 940c770d27 [analyzer] Add NumberObjectConversion checker.
When dealing with objects that represent numbers, such as Objective-C NSNumber,
the language provides little protection from accidentally interpreting
the value of a pointer to such object as the value of the number represented
by the object. Results of such mis-interpretation may be unexpected.

The checker attempts to fill this gap in cases when the code is obviously
incorrect.

With "Pedantic" option enabled, this checker enforces a coding style to
completely prevent errors of this kind (off by default).

Differential Revision: https://reviews.llvm.org/D22968

llvm-svn: 284473
2016-10-18 11:06:28 +00:00
..
Models
localization-pch.h [analyzer] Use lazily created buffer in EmptyLocalizationContextChecker 2016-08-30 23:07:14 +00:00
qt-simulator.h [analyzer] Fix false warning about memory leak for QApplication::postEvent 2016-01-06 00:32:56 +00:00
system-header-simulator-cxx-std-suppression.h [analyzer] Suppress false positives in std::shared_ptr 2016-07-06 21:52:55 +00:00
system-header-simulator-cxx.h [analyzer] Suppress false positives in std::shared_ptr 2016-07-06 21:52:55 +00:00
system-header-simulator-for-malloc.h
system-header-simulator-for-nullability.h [analyzer] Nullability: Don't warn along paths where null returned from non-null. 2016-03-28 20:30:25 +00:00
system-header-simulator-for-objc-dealloc.h [analyzer] Add CIFIlter modeling to DeallocChecker. 2016-03-25 21:18:22 +00:00
system-header-simulator-for-pthread-lock.h [analyzer] Fix pthread lock tests so that the API comes from a system header. 2014-09-10 16:17:42 +00:00
system-header-simulator-for-simple-stream.h
system-header-simulator-for-valist.h Reapply "[analyzer] Added valist related checkers." 2016-08-22 11:21:30 +00:00
system-header-simulator-objc.h [analyzer] Add NumberObjectConversion checker. 2016-10-18 11:06:28 +00:00
system-header-simulator.h [analyzer] Add VforkChecker to find unsafe code in vforked process. 2015-11-06 11:16:31 +00:00