forked from OSchip/llvm-project
[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:
parent
e950795a03
commit
8fa568d761
|
@ -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 "
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue