r254579 - Fix a comment typo from r251874.
Nico Weber via cfe-commits
cfe-commits at lists.llvm.org
Wed Dec 2 18:25:28 PST 2015
Author: nico
Date: Wed Dec 2 20:25:26 2015
New Revision: 254579
URL: http://llvm.org/viewvc/llvm-project?rev=254579&view=rev
Log:
Fix a comment typo from r251874.
Modified:
cfe/trunk/lib/Sema/SemaObjCProperty.cpp
Modified: cfe/trunk/lib/Sema/SemaObjCProperty.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaObjCProperty.cpp?rev=254579&r1=254578&r2=254579&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaObjCProperty.cpp (original)
+++ cfe/trunk/lib/Sema/SemaObjCProperty.cpp Wed Dec 2 20:25:26 2015
@@ -418,7 +418,7 @@ Sema::HandlePropertyInClassExtension(Sco
}
// A readonly property declared in the primary class can be refined
- // by adding a rewrite property within an extension.
+ // by adding a readwrite property within an extension.
// Anything else is an error.
unsigned PIkind = PIDecl->getPropertyAttributesAsWritten();
if (!(isReadWrite && (PIkind & ObjCPropertyDecl::OBJC_PR_readonly))) {
More information about the cfe-commits
mailing list