aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/CFRefCount.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2009-05-11 18:30:24 +0000
committerTed Kremenek <kremenek@apple.com>2009-05-11 18:30:24 +0000
commitebd5a2dc1a3743fed9157379d89e5eb26293c9d6 (patch)
tree18ca9e0ff102a186c625de4be5d611761b27d9a3 /lib/Analysis/CFRefCount.cpp
parentd6a9907ceff2c52738a72e38b6a04ab44ce1173f (diff)
Fix regression reported in <rdar://problem/6866843>. The analyzer should extend the lifetime of an object stored to a container.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71452 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/CFRefCount.cpp')
-rw-r--r--lib/Analysis/CFRefCount.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Analysis/CFRefCount.cpp b/lib/Analysis/CFRefCount.cpp
index ebc4dcc6ff..29a28c1a19 100644
--- a/lib/Analysis/CFRefCount.cpp
+++ b/lib/Analysis/CFRefCount.cpp
@@ -752,8 +752,8 @@ public:
: RetEffect::MakeOwned(RetEffect::ObjC, true)),
DefaultSummary(AF.GetEmptyMap() /* per-argument effects (none) */,
RetEffect::MakeNoRet() /* return effect */,
- DoNothing /* receiver effect */,
- MayEscape /* default argument effect */),
+ MayEscape, /* default argument effect */
+ DoNothing /* receiver effect */),
StopSummary(0) {
InitializeClassMethodSummaries();