Eliminated a compile warning by removing dyn_cast

where isa is good enough.

llvm-svn: 144704
This commit is contained in:
Sean Callanan 2011-11-15 21:50:18 +00:00
parent 86b6f74217
commit 100d74e267
1 changed files with 1 additions and 1 deletions

View File

@ -311,7 +311,7 @@ ClangASTSource::FindExternalVisibleDecls (NameSearchContext &context)
current_id);
}
}
else if (const ObjCInterfaceDecl *interface_decl = dyn_cast<ObjCInterfaceDecl>(context.m_decl_context))
else if (isa<ObjCInterfaceDecl>(context.m_decl_context))
{
FindObjCPropertyDecls(context);
}