Commit 7550d897 authored by hjk's avatar hjk

Debugger: Add dumper for std::__1::{multi,}set

Change-Id: I3f951256db6aec4010b3829a901f83a53ce18978
Reviewed-by: Christian Stenger's avatarChristian Stenger <christian.stenger@qt.io>
parent d4024642
......@@ -455,6 +455,9 @@ def qdump__std____1__set(d, value):
d.putBetterType(valueType)
node = std1TreeNext(d, node).cast(nodeType)
def qdump__std____1__multiset(d, value):
qdump__std____1__set(d, value)
def qform__std____1__map():
return mapForms()
......@@ -497,6 +500,17 @@ def qdump__std____1__map__iterator(d, value):
def qdump__std____1__map__const_iterator(d, value):
qdump__std____1__map__iterator(d, value)
def qdump__std____1__set__iterator(d, value):
d.putEmptyValue()
if d.isExpanded():
with Children(d):
node = value['__ptr_'].dereference()['__value_']
node = node.cast(value.type[0])
d.putSubItem('value', node)
def qdump__std____1__set_const_iterator(d, value):
qdump__std____1__set__iterator(d, value)
def qdump__std__stack(d, value):
d.putItem(value["c"])
d.putBetterType(value.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