Commit 01bf9293 authored by gsamain's avatar gsamain Committed by Xavier Thompson

Cpp: CppClassType set_scope method

parent e696c04e
......@@ -3945,6 +3945,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