aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaObjCProperty.cpp
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2011-08-22 18:34:22 +0000
committerFariborz Jahanian <fjahanian@apple.com>2011-08-22 18:34:22 +0000
commit58a764940df0cd41767367eb2f4fced6f374176b (patch)
tree5c760eb4851656b4562092cd8a8dc2ba9c21894a /lib/Sema/SemaObjCProperty.cpp
parent9735c5e60027b26a809df19677ff16a4d13f1321 (diff)
objc - minor comment fix up and cleanup.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@138253 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaObjCProperty.cpp')
-rw-r--r--lib/Sema/SemaObjCProperty.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Sema/SemaObjCProperty.cpp b/lib/Sema/SemaObjCProperty.cpp
index ddb7eebd86..a5fb31afaf 100644
--- a/lib/Sema/SemaObjCProperty.cpp
+++ b/lib/Sema/SemaObjCProperty.cpp
@@ -144,7 +144,7 @@ Sema::HandlePropertyInClassExtension(Scope *S,
bool *isOverridingProperty,
TypeSourceInfo *T,
tok::ObjCKeywordKind MethodImplKind) {
- ObjCCategoryDecl *CDecl = dyn_cast<ObjCCategoryDecl>(CurContext);
+ ObjCCategoryDecl *CDecl = cast<ObjCCategoryDecl>(CurContext);
// Diagnose if this property is already in continuation class.
DeclContext *DC = CurContext;
IdentifierInfo *PropertyId = FD.D.getIdentifier();