diff options
author | Artem Dergachev <artem.dergachev@gmail.com> | 2019-04-23 02:45:42 +0000 |
---|---|---|
committer | Artem Dergachev <artem.dergachev@gmail.com> | 2019-04-23 02:45:42 +0000 |
commit | 8c6119a44275852b868c6df0c14ee85efeb2a9e5 (patch) | |
tree | 86c6dca212d30da5c4768eeabb68af088ddf57b4 /lldb/scripts/Python/modify-python-lldb.py | |
parent | 32c0ebe615772f25b4cadb82bc3ad809afa62641 (diff) | |
download | llvm-8c6119a44275852b868c6df0c14ee85efeb2a9e5.zip llvm-8c6119a44275852b868c6df0c14ee85efeb2a9e5.tar.gz llvm-8c6119a44275852b868c6df0c14ee85efeb2a9e5.tar.bz2 |
[analyzer] PR41269: Add a bit of C++ smart pointer modeling.
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
Diffstat (limited to 'lldb/scripts/Python/modify-python-lldb.py')
0 files changed, 0 insertions, 0 deletions