Commit b819cfb6 authored by gsamain's avatar gsamain

CppClassType set_scope method

parent 43f347b2
...@@ -3800,6 +3800,11 @@ class CppClassType(CType): ...@@ -3800,6 +3800,11 @@ class CppClassType(CType):
return 1 return 1
return 0 return 0
def set_scope(self, scope):
self.scope = scope
if scope:
scope.parent_type = self
def subclass_dist(self, super_type): def subclass_dist(self, super_type):
if self.same_as_resolved_type(super_type): if self.same_as_resolved_type(super_type):
return 0 return 0
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment