]> granicus.if.org Git - clang/commit
[analyzer] MoveChecker: Enable by default as cplusplus.Move.
authorArtem Dergachev <artem.dergachev@gmail.com>
Mon, 17 Dec 2018 06:30:39 +0000 (06:30 +0000)
committerArtem Dergachev <artem.dergachev@gmail.com>
Mon, 17 Dec 2018 06:30:39 +0000 (06:30 +0000)
commit9cc18140e73769c5980338eb0f65d5d40553718a
treec5edfcfe24a69e489a511004dc2402d0dbc8bc55
parent77e91cadfc10664326513f489ca605f6618bd570
[analyzer] MoveChecker: Enable by default as cplusplus.Move.

This checker warns you when you re-use an object after moving it.

Mostly developed by Peter Szecsi!

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@349328 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/StaticAnalyzer/Checkers/Checkers.td
test/Analysis/mismatched-iterator.cpp
test/Analysis/use-after-move.cpp