From 8fa568d761183c9c34f6fffa64fe541fe5277376 Mon Sep 17 00:00:00 2001 From: Devin Coughlin Date: Sat, 12 Nov 2016 01:50:04 +0000 Subject: [PATCH] [analyzer] Update 'Automated' to 'Automatic' from r286694. ARC is 'Automatic Reference Counting' and not 'Automated Reference Counting'. llvm-svn: 286700 --- clang/lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp | 2 +- clang/test/Analysis/retain-release-arc.m | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp b/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp index 7c31cbaf51eb..880f3a17173d 100644 --- a/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp +++ b/clang/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/clang/test/Analysis/retain-release-arc.m b/clang/test/Analysis/retain-release-arc.m index 2a6a40ed1bdf..e27f519ea696 100644 --- a/clang/test/Analysis/retain-release-arc.m +++ b/clang/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 }