[analyzer] Warn when using 'delete' on an uninitialized variable.
authorJordan Rose <jordan_rose@apple.com>
Fri, 9 Aug 2013 00:55:47 +0000 (00:55 +0000)
committerJordan Rose <jordan_rose@apple.com>
Fri, 9 Aug 2013 00:55:47 +0000 (00:55 +0000)
commit867b185e63be46d186362774d8c97758c8942aca
tree6ec0fb37e0993bb3af56603b095435436689d005
parent368baeda22e48b1f493df9b52ecce064bf323d15
[analyzer] Warn when using 'delete' on an uninitialized variable.

Patch by Karthik Bhat, modified slightly by me.

llvm-svn: 188043
clang/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp
clang/test/Analysis/NewDelete-checker-test.cpp