]> granicus.if.org Git - clang/commit
[analyzer] MoveChecker: Add one more common resetting method, "append".
authorArtem Dergachev <artem.dergachev@gmail.com>
Fri, 18 Jan 2019 00:16:25 +0000 (00:16 +0000)
committerArtem Dergachev <artem.dergachev@gmail.com>
Fri, 18 Jan 2019 00:16:25 +0000 (00:16 +0000)
commit3dd4ecf43e5928912b6470a76e8a496735ec064a
tree355071b3c5062173d0b5627a3e82ecb52e3b80e6
parenta12cce01127ce8e952486a717111cfaec09973ff
[analyzer] MoveChecker: Add one more common resetting method, "append".

This is especially crucial for reports related to use-after-move of
standard library objects.

rdar://problem/47338505

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@351500 91177308-0d34-0410-b5e6-96231b3b80d8
lib/StaticAnalyzer/Checkers/MoveChecker.cpp
test/Analysis/use-after-move.cpp