]> granicus.if.org Git - clang/commit
New message for cases when ownership is taken:
authorAnton Yartsev <anton.yartsev@gmail.com>
Mon, 16 Sep 2013 17:51:25 +0000 (17:51 +0000)
committerAnton Yartsev <anton.yartsev@gmail.com>
Mon, 16 Sep 2013 17:51:25 +0000 (17:51 +0000)
commit30845189af590de0af68ad9c7c47dd789ee28df2
tree47a138247e6725843b8aa9d4f4229fdadb455b59
parent7a97f7bc619752d09998a9c31c7574b51f04ba1e
New message for cases when ownership is taken:
"+method_name: cannot take ownership of memory allocated by 'new'."
instead of the old
"Memory allocated by 'new' should be deallocated by 'delete', not +method_name"

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@190800 91177308-0d34-0410-b5e6-96231b3b80d8
lib/StaticAnalyzer/Checkers/MallocChecker.cpp
test/Analysis/MismatchedDeallocator-checker-test.mm