]> granicus.if.org Git - clang/commit
[analyzer] Fix a regression introduced in malloc with
authorAnna Zaks <ganna@apple.com>
Thu, 1 Mar 2012 22:06:06 +0000 (22:06 +0000)
committerAnna Zaks <ganna@apple.com>
Thu, 1 Mar 2012 22:06:06 +0000 (22:06 +0000)
commitb3d7275c1a4a9f676af850cd661b56c4ad7ef5c9
treeb440cd023ec5d050e060d42b32df306b24d1dccf
parentad8de5142a592db1d947e4883b64f63936d5d682
[analyzer] Fix a regression introduced in malloc with
attributes, introduced in r151188.

+ the test to catch it.

Thanks to Ahmed Charles for pointing this out.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151840 91177308-0d34-0410-b5e6-96231b3b80d8
lib/StaticAnalyzer/Checkers/MallocChecker.cpp
test/Analysis/malloc-annotations.c