Commit 190d9e2f authored by gsamain's avatar gsamain Committed by Xavier Thompson

Cpp: Fix c++ scope inheritance of func_cname

parent 613f9372
......@@ -2594,6 +2594,8 @@ class CppClassScope(Scope):
entry.is_variable = 1
entry.is_inherited = 1
entry.is_cfunction = base_entry.is_cfunction
if entry.is_cfunction:
entry.func_cname = base_entry.func_cname
self.inherited_var_entries.append(entry)
for base_entry in base_scope.cfunc_entries:
entry = self.declare_cfunction(base_entry.name, base_entry.type,
......
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