summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorDevin Coughlin <dcoughlin@apple.com>2016-11-12 01:50:04 +0000
committerDevin Coughlin <dcoughlin@apple.com>2016-11-12 01:50:04 +0000
commit8fa568d761183c9c34f6fffa64fe541fe5277376 (patch)
tree66cbb61fe34a168fab1b211d062f99b9366267b4 /clang
parente950795a03bd0b1acd743221c8fde5a48d2d3b0e (diff)
downloadbcm5719-llvm-8fa568d761183c9c34f6fffa64fe541fe5277376.tar.gz
bcm5719-llvm-8fa568d761183c9c34f6fffa64fe541fe5277376.zip
[analyzer] Update 'Automated' to 'Automatic' from r286694.
ARC is 'Automatic Reference Counting' and not 'Automated Reference Counting'. llvm-svn: 286700
Diffstat (limited to 'clang')
-rw-r--r--clang/lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp2
-rw-r--r--clang/test/Analysis/retain-release-arc.m2
2 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp b/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp
index 7c31cbaf51e..880f3a17173 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<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 "
diff --git a/clang/test/Analysis/retain-release-arc.m b/clang/test/Analysis/retain-release-arc.m
index 2a6a40ed1bd..e27f519ea69 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
}
OpenPOWER on IntegriCloud