]> granicus.if.org Git - clang/commitdiff
[analyzer] Update 'Automated' to 'Automatic' from r286694.
authorDevin Coughlin <dcoughlin@apple.com>
Sat, 12 Nov 2016 01:50:04 +0000 (01:50 +0000)
committerDevin Coughlin <dcoughlin@apple.com>
Sat, 12 Nov 2016 01:50:04 +0000 (01:50 +0000)
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

lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp
test/Analysis/retain-release-arc.m

index 7c31cbaf51eb1775e4f4c1a57f49e67afba9a2f8..880f3a17173d0539d5d75aca2319e35398864391 100644 (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 "
index 2a6a40ed1bdfbeb010a22860dff482fc449afa00..e27f519ea696e9f99fb95e1fe8b1494a1fae9f43 100644 (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
 }