summaryrefslogtreecommitdiffstats
path: root/source/Symbol/ClangASTType.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/Symbol/ClangASTType.cpp')
-rw-r--r--source/Symbol/ClangASTType.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/Symbol/ClangASTType.cpp b/source/Symbol/ClangASTType.cpp
index a62cc9f..6f1002f 100644
--- a/source/Symbol/ClangASTType.cpp
+++ b/source/Symbol/ClangASTType.cpp
@@ -5354,7 +5354,9 @@ ClangASTType::SetObjCSuperClass (const ClangASTType &superclass_clang_type)
clang::ObjCInterfaceDecl *super_interface_decl = superclass_clang_type.GetAsObjCInterfaceDecl ();
if (class_interface_decl && super_interface_decl)
{
- class_interface_decl->setSuperClass(super_interface_decl);
+
+ class_interface_decl->setSuperClass(
+ m_ast->getTrivialTypeSourceInfo(m_ast->getObjCInterfaceType(super_interface_decl)));
return true;
}
}
OpenPOWER on IntegriCloud