Fix a comment typo from r251874.

llvm-svn: 254579
This commit is contained in:
Nico Weber 2015-12-03 02:25:26 +00:00
parent 43e12900d9
commit baf4b7d734
1 changed files with 1 additions and 1 deletions

View File

@ -418,7 +418,7 @@ Sema::HandlePropertyInClassExtension(Scope *S,
}
// 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))) {