Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [analyzer] SmartPtrModeling: Fix a null dereference. | Artem Dergachev | 2019-04-30 | 1 | -0/+10 |
| | | | | | | | | | Don't crash when trying to model a call in which the callee is unknown in compile time, eg. a pointer-to-member call. Differential Revision: https://reviews.llvm.org/D61285 llvm-svn: 359530 | ||||
* | [analyzer] PR41269: Add a bit of C++ smart pointer modeling. | Artem Dergachev | 2019-04-23 | 1 | -0/+18 |
Implement cplusplus.SmartPtrModeling, a new checker that doesn't emit any warnings but models methods of smart pointers more precisely. For now the only thing it does is make `(bool) P` return false when `P` is a freshly moved pointer. This addresses a false positive in the use-after-move-checker. Differential Revision: https://reviews.llvm.org/D60796 llvm-svn: 358944 |