Commit 74cc163a authored by Eike Ziller's avatar Eike Ziller Committed by hjk
Browse files

LLDB: Fix display of bases with multiple inheritance.



It was only showing the "last" one because the inames were the same
(currentIName.None).
Do not overwrite iname of sub item in 'enterSubItem' if it already was
set.

Task-number: QTCREATORBUG-11109
Change-Id: I74581f62d47ff0c33650769c3ed66e24124d1092
Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
parent 27563451
......@@ -315,7 +315,8 @@ class Dumper(DumperBase):
if item.name is None:
self.anonNumber += 1
item.name = "#%d" % self.anonNumber
item.iname = "%s.%s" % (self.currentIName, item.name)
if not item.iname:
item.iname = "%s.%s" % (self.currentIName, item.name)
self.put('{')
#if not item.name is None:
if isinstance(item.name, str):
......
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