diff options
Diffstat (limited to 'lib/Analysis/CFRefCount.cpp')
-rw-r--r-- | lib/Analysis/CFRefCount.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Analysis/CFRefCount.cpp b/lib/Analysis/CFRefCount.cpp index 711127b79d..f4b4b11853 100644 --- a/lib/Analysis/CFRefCount.cpp +++ b/lib/Analysis/CFRefCount.cpp @@ -1107,11 +1107,11 @@ RetainSummaryManager::updateSummaryArgEffFromAnnotations(RetainSummary &Summ, const ParmVarDecl *PD){ if (PD->getAttr<ObjCOwnershipRetainAttr>()) Summ.setArgEffect(AF, i, IncRefMsg); - else if (PD->getAttr<ObjCOwnershipCFRetainAttr>()) + else if (PD->getAttr<CFOwnershipRetainAttr>()) Summ.setArgEffect(AF, i, IncRef); else if (PD->getAttr<ObjCOwnershipReleaseAttr>()) Summ.setArgEffect(AF, i, DecRefMsg); - else if (PD->getAttr<ObjCOwnershipCFReleaseAttr>()) + else if (PD->getAttr<CFOwnershipReleaseAttr>()) Summ.setArgEffect(AF, i, DecRef); else if (PD->getAttr<ObjCOwnershipMakeCollectableAttr>()) Summ.setArgEffect(AF, i, MakeCollectable); |