]> granicus.if.org Git - clang/commit
[analyzer] Remove unused DoNothingByRef and the special case for CFDictionaryCreate.
authorJordy Rose <jediknil@belkadan.com>
Wed, 24 Aug 2011 19:10:50 +0000 (19:10 +0000)
committerJordy Rose <jediknil@belkadan.com>
Wed, 24 Aug 2011 19:10:50 +0000 (19:10 +0000)
commitbd85b1394017cdd75294c75e5bad351a70b2e21c
treef9af14140789ccac23620dcf1d9834d3a3bf4937
parent0d95f77ba180aee35b74f3bf9f8543477f3af543
[analyzer] Remove unused DoNothingByRef and the special case for CFDictionaryCreate.

This is a very small regression (actually introduced in r138309) because it won't catch leaks of objects passed by reference to CFDictionaryCreate (they're considered to have escaped and are ignored). If this is important we can put in a specific eval::Call to restore the functionality.

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