Remove instance reference of static member function.

llvm-svn: 249207
This commit is contained in:
Zachary Turner 2015-10-02 22:47:14 +00:00
parent 6c3c0ed539
commit 89a7938291
1 changed files with 8 additions and 9 deletions

View File

@ -1597,15 +1597,14 @@ public:
bool
Finalize()
{
ClangASTContext *ast = llvm::cast<ClangASTContext>(m_class_opaque_type.GetTypeSystem());
return ast->AddObjCClassProperty (m_class_opaque_type,
m_property_name,
m_property_opaque_type,
m_ivar_decl,
m_property_setter_name,
m_property_getter_name,
m_property_attributes,
m_metadata_ap.get());
return ClangASTContext::AddObjCClassProperty (m_class_opaque_type,
m_property_name,
m_property_opaque_type,
m_ivar_decl,
m_property_setter_name,
m_property_getter_name,
m_property_attributes,
m_metadata_ap.get());
}
private: