aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/CFRefCount.cpp
diff options
context:
space:
mode:
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 29ad73f0f9..e7c116588d 100644
--- a/lib/Analysis/CFRefCount.cpp
+++ b/lib/Analysis/CFRefCount.cpp
@@ -829,7 +829,7 @@ RetainSummary* RetainSummaryManager::getSummary(FunctionDecl* FD) {
break;
}
- // [PR 3337] Use 'getDesugaredType' to strip away any typedefs on the
+ // [PR 3337]q Use 'getDesugaredType' to strip away any typedefs on the
// function's type.
FunctionType* FT = cast<FunctionType>(FD->getType()->getDesugaredType());
const char* FName = FD->getIdentifier()->getName();
@@ -1088,7 +1088,7 @@ void RetainSummaryManager::InitializeClassMethodSummaries() {
addClsMethSummary(&Ctx.Idents.get("NSAutoreleasePool"),
GetUnarySelector("addObject", Ctx),
getPersistentSummary(RetEffect::MakeNoRet(),
- DoNothing, DoNothing));
+ DoNothing, Autorelease));
}
void RetainSummaryManager::InitializeMethodSummaries() {