summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2015-12-03 02:25:26 +0000
committerNico Weber <nicolasweber@gmx.de>2015-12-03 02:25:26 +0000
commitbaf4b7d734f4600b4e3ce734ff4ae2075bce030b (patch)
treebb73f05d7561267c2b94b4aa36bb1b7411feb8a5
parent43e12900d9e843d0b55557f99312c547037b7dc4 (diff)
downloadbcm5719-llvm-baf4b7d734f4600b4e3ce734ff4ae2075bce030b.tar.gz
bcm5719-llvm-baf4b7d734f4600b4e3ce734ff4ae2075bce030b.zip
Fix a comment typo from r251874.
llvm-svn: 254579
-rw-r--r--clang/lib/Sema/SemaObjCProperty.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaObjCProperty.cpp b/clang/lib/Sema/SemaObjCProperty.cpp
index 60067761333..f0948b77580 100644
--- a/clang/lib/Sema/SemaObjCProperty.cpp
+++ b/clang/lib/Sema/SemaObjCProperty.cpp
@@ -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))) {
OpenPOWER on IntegriCloud