From f36734dd2a63b16ab176d4c8f24b1a6e291f300a Mon Sep 17 00:00:00 2001 From: Fariborz Jahanian Date: Mon, 22 Aug 2011 18:34:22 +0000 Subject: objc - minor comment fix up and cleanup. llvm-svn: 138253 --- clang/lib/Sema/SemaObjCProperty.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/lib/Sema/SemaObjCProperty.cpp') diff --git a/clang/lib/Sema/SemaObjCProperty.cpp b/clang/lib/Sema/SemaObjCProperty.cpp index ddb7eebd864..a5fb31afafc 100644 --- a/clang/lib/Sema/SemaObjCProperty.cpp +++ b/clang/lib/Sema/SemaObjCProperty.cpp @@ -144,7 +144,7 @@ Sema::HandlePropertyInClassExtension(Scope *S, bool *isOverridingProperty, TypeSourceInfo *T, tok::ObjCKeywordKind MethodImplKind) { - ObjCCategoryDecl *CDecl = dyn_cast(CurContext); + ObjCCategoryDecl *CDecl = cast(CurContext); // Diagnose if this property is already in continuation class. DeclContext *DC = CurContext; IdentifierInfo *PropertyId = FD.D.getIdentifier(); -- cgit v1.2.3