]> granicus.if.org Git - clang/commit
[analyzer] Remove duplicate work on deriving method behavior. No functionality change.
authorJordy Rose <jediknil@belkadan.com>
Sat, 17 Mar 2012 19:53:04 +0000 (19:53 +0000)
committerJordy Rose <jediknil@belkadan.com>
Sat, 17 Mar 2012 19:53:04 +0000 (19:53 +0000)
commite921b1a8b6b6f47abbc9b3de47cc74a34db2852b
tree65ceb063344ad40a67315f12e74077554206b16e
parent22e2f854cb7fd53e048fcbdbee1e78108cb8d146
[analyzer] Remove duplicate work on deriving method behavior. No functionality change.

The cocoa::deriveNamingConventions helper is just using method families anyway now, and the way RetainSummaryTemplate works means we're allocating an extra summary for every method with a relevant family.

Also, fix RetainSummaryTemplate to do the right thing w/r/t annotating an /existing/ summary. This was probably the real cause of <rdar://problem/10824732> and the fix in r152448.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152998 91177308-0d34-0410-b5e6-96231b3b80d8
lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp