Commit 9d9913cc authored by gsamain's avatar gsamain

CppClassType set_scope method

parent 9ac0de57
......@@ -3800,6 +3800,11 @@ class CppClassType(CType):
return 1
return 0
def set_scope(self, scope):
self.scope = scope
if scope:
scope.parent_type = self
def subclass_dist(self, super_type):
if self.same_as_resolved_type(super_type):
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