]> granicus.if.org Git - clang/commit
[static analyzer] add a simple "CallEffects" API to query the retain count semantics...
authorTed Kremenek <kremenek@apple.com>
Wed, 14 Aug 2013 23:41:49 +0000 (23:41 +0000)
committerTed Kremenek <kremenek@apple.com>
Wed, 14 Aug 2013 23:41:49 +0000 (23:41 +0000)
commit53c7ea1517fc9080b30b054c578cb407de12d5b5
tree880236b7a37b2a4d563cdd745de7fdaa6702b458
parent5774e390199a572d10b22c78a80ed2cdde94304d
[static analyzer] add a simple "CallEffects" API to query the retain count semantics of a method.

This is intended to be a simplified API, whose internals are
deliberately less efficient for the purpose of a simplified interface,
for use with clients that want to query the analyzer's heuristics for
determining retain count semantics.

There are no immediate clients, but it is intended to be used
by the ObjC modernizer.

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