]> granicus.if.org Git - clang/commit
Use EvalSummary to process message expressions, thereby unifying the checker
authorTed Kremenek <kremenek@apple.com>
Tue, 6 May 2008 04:20:12 +0000 (04:20 +0000)
committerTed Kremenek <kremenek@apple.com>
Tue, 6 May 2008 04:20:12 +0000 (04:20 +0000)
commitb309525445c8ec3d36e49568382029efc2740554
tree6e3d152882402943ecbce2f9bc77701c8f12fc8e
parent922059dec59c7bed235da01aff75ae522a369811
Use EvalSummary to process message expressions, thereby unifying the checker
logic for function calls and message expressions.

Use the following heuristic to infer "allocating" instance methods:

  [ClassName classWithXXX]  allocates an object

Update testcase to reflect this heuristic.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@50708 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/CFRefCount.cpp
test/Analysis-Apple/CFDate.m