forked from OSchip/llvm-project
Eliminated a compile warning by removing dyn_cast
where isa is good enough. llvm-svn: 144704
This commit is contained in:
parent
86b6f74217
commit
100d74e267
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue