From: Devin Coughlin Date: Sat, 12 Nov 2016 01:50:04 +0000 (+0000) Subject: [analyzer] Update 'Automated' to 'Automatic' from r286694. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5a77ad29c9e42187c10aeb61cd8d0089d04954c5;p=clang [analyzer] Update 'Automated' to 'Automatic' from r286694. ARC is 'Automatic Reference Counting' and not 'Automated Reference Counting'. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@286700 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp b/lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp index 7c31cbaf51..880f3a1717 100644 --- a/lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp +++ b/lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp @@ -2368,7 +2368,7 @@ CFRefLeakReportVisitor::getEndPath(BugReporterContext &BRC, else { if (const ObjCMethodDecl *MD = dyn_cast(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 " diff --git a/test/Analysis/retain-release-arc.m b/test/Analysis/retain-release-arc.m index 2a6a40ed1b..e27f519ea6 100644 --- a/test/Analysis/retain-release-arc.m +++ b/test/Analysis/retain-release-arc.m @@ -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 }