]> granicus.if.org Git - clang/commit
Changed behavior of how we handle "NULL" summaries: just call
authorTed Kremenek <kremenek@apple.com>
Fri, 11 Apr 2008 20:11:19 +0000 (20:11 +0000)
committerTed Kremenek <kremenek@apple.com>
Fri, 11 Apr 2008 20:11:19 +0000 (20:11 +0000)
commita0df99ff6fb7f86fbb55ebac52f64ab35497924a
tree1569b0e6df7d5e9344a12e8e517a82ecb91b066c
parentd6a07aaf62b40cdfbd96f6b874d02b06fc22d015
Changed behavior of how we handle "NULL" summaries: just call
GRSimpleVals::EvalCal(), and don't change reference counts.

Remove "getDoNothingSummary()", as a NULL summary does the same thing.

Added temporary hack for the "Get" rule for objects that return a pointer type:
treat them as non-owned CF objects.

Added test case to detect the release of a non-owned object.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49555 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/CFRefCount.cpp
test/Analysis-Apple/CFString.c [new file with mode: 0644]