Author: dcoughlin
Date: Fri Nov 11 19:50:04 2016
New Revision: 286700
URL: http://llvm.org/viewvc/llvm-project?rev=286700&view=rev
Log:
[analyzer] Update 'Automated' to 'Automatic' from r286694.
ARC is 'Automatic Reference Counting' and not 'Automated Reference Counting'.
Modified:
cfe/trunk/lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp
cfe/trunk/test/Analysis/retain-release-arc.m
Modified: cfe/trunk/lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp
URL:
http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp?rev=286700&r1=286699&r2=286700&view=diff
==============================================================================
--- cfe/trunk/lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp (original)
+++ cfe/trunk/lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp Fri Nov 11
19:50:04 2016
@@ -2368,7 +2368,7 @@ CFRefLeakReportVisitor::getEndPath(BugRe
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 "
Modified: cfe/trunk/test/Analysis/retain-release-arc.m
URL:
http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Analysis/retain-release-arc.m?rev=286700&r1=286699&r2=286700&view=diff
==============================================================================
--- cfe/trunk/test/Analysis/retain-release-arc.m (original)
+++ cfe/trunk/test/Analysis/retain-release-arc.m Fri Nov 11 19:50:04 2016
@@ -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
}
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits