[analyzer] Update 'Automated' to 'Automatic' from r286694.

ARC is 'Automatic Reference Counting' and not 'Automated Reference Counting'.

llvm-svn: 286700
This commit is contained in:
Devin Coughlin 2016-11-12 01:50:04 +00:00
parent e950795a03
commit 8fa568d761
2 changed files with 2 additions and 2 deletions

View File

@ -2368,7 +2368,7 @@ CFRefLeakReportVisitor::getEndPath(BugReporterContext &BRC,
else {
if (const ObjCMethodDecl *MD = dyn_cast<ObjCMethodDecl>(D)) {
if (BRC.getASTContext().getLangOpts().ObjCAutoRefCount) {
os << "managed by Automated Reference Counting";
os << "managed by Automatic Reference Counting";
} else {
os << "whose name ('" << MD->getSelector().getAsString()
<< "') does not start with "

View File

@ -59,7 +59,7 @@ typedef struct _NSZone NSZone;
#if HAS_ARC
// expected-warning@-2 {{Potential leak of an object stored into 'testDict'}}
// expected-note@-3 {{Object returned to caller as an owning reference (single retain count transferred to caller)}}
// expected-note@-4 {{Object leaked: object allocated and stored into 'testDict' is returned from a method managed by Automated Reference Counting}}
// expected-note@-4 {{Object leaked: object allocated and stored into 'testDict' is returned from a method managed by Automatic Reference Counting}}
#endif
}