]> granicus.if.org Git - clang/commit
When updating the retain summary based on {cf,ns}_consumed attributes,
authorJohn McCall <rjmccall@apple.com>
Wed, 6 Apr 2011 09:02:12 +0000 (09:02 +0000)
committerJohn McCall <rjmccall@apple.com>
Wed, 6 Apr 2011 09:02:12 +0000 (09:02 +0000)
commit98b8f16a0b056919f24206a8a3ca86f9ea75fa34
treeeb5afad73d2e8e0bb10408a04f7bdcc70d9bc4b5
parent018e02cc19d2635416a8b2b76f3c8faf6c361afb
When updating the retain summary based on {cf,ns}_consumed attributes,
be sure to consume the argument index that actually had the attribute
rather than always the first.  rdar://problem/9234108

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@128998 91177308-0d34-0410-b5e6-96231b3b80d8
lib/StaticAnalyzer/Core/CFRefCount.cpp
test/Analysis/retain-release.m