diff options
author | Martin Bohme <mboehme@google.com> | 2016-11-02 17:34:47 +0000 |
---|---|---|
committer | Martin Bohme <mboehme@google.com> | 2016-11-02 17:34:47 +0000 |
commit | 5d9d417a082b33d39183c566dc58358b5d7b905a (patch) | |
tree | 9bb6a59b807b739e4cf420642a29703c50a0c88c /lldb/source/Commands/CommandObjectSource.cpp | |
parent | 6b2bba14a9266c944859fa2af9c5a311ae5c56f9 (diff) | |
download | llvm-5d9d417a082b33d39183c566dc58358b5d7b905a.zip llvm-5d9d417a082b33d39183c566dc58358b5d7b905a.tar.gz llvm-5d9d417a082b33d39183c566dc58358b5d7b905a.tar.bz2 |
[clang-tidy] Extend misc-use-after-move to support unique_ptr and shared_ptr.
Summary:
As a unique_ptr or shared_ptr that has been moved from is guaranteed to be null,
we only warn if the pointer is dereferenced.
Reviewers: hokein, alexfh, aaron.ballman
Subscribers: Prazek, cfe-commits
Differential Revision: https://reviews.llvm.org/D26041
llvm-svn: 285842
Diffstat (limited to 'lldb/source/Commands/CommandObjectSource.cpp')
0 files changed, 0 insertions, 0 deletions