[analyzer] Remove unused ARCNotOwnedSymbol retain count return effect.
authorJordan Rose <jordan_rose@apple.com>
Tue, 7 Jan 2014 21:39:41 +0000 (21:39 +0000)
committerJordan Rose <jordan_rose@apple.com>
Tue, 7 Jan 2014 21:39:41 +0000 (21:39 +0000)
commit6ad4cb4eca2094a3fcde0a90c118632de1b4f939
treec526e85b0c0e02e63d7d64b1c0bb64e940ac59e9
parent894843cb4e47366dee16ae10edb09a337a6db3ae
[analyzer] Remove unused ARCNotOwnedSymbol retain count return effect.

RetainCountChecker has to track returned object values to know if they are
retained or not. Under ARC, even methods that return +1 are tracked by the
system and should be treated as +0. However, this effect behaves exactly
like NotOwned(ObjC), i.e. a generic Objective-C method that actually returns
+0, so we don't need a special case for it.

No functionality change.

llvm-svn: 198709
clang/include/clang/StaticAnalyzer/Checkers/ObjCRetainCount.h
clang/lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp