Commit 79ac7988 authored by gsamain's avatar gsamain Committed by Xavier Thompson

Cpp: CppClassType set_scope method

parent 4c003e06
......@@ -3948,6 +3948,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