Commit 76a8606c authored by Orgad Shaneh's avatar Orgad Shaneh Committed by hjk
Browse files

Dumper: Add a dumper for CPlusPlus::FullySpecifiedType

Only prints the name for NamedType and PointerType

Change-Id: I8d4c3548b0260d0dfc091b326b5023bcfd6d46bd
Reviewed-by: default avatarhjk <>
parent e22d0e82
......@@ -131,6 +131,15 @@ def qdump__CPlusPlus__IntegerType(d, value):
def qdump__CPlusPlus__FullySpecifiedType(d, value):
type = d.downcast(value["_type"])
typeName = stripTypeName(type)
if typeName == "CPlusPlus::NamedType":
dumpLiteral(d, type["_name"])
elif typeName == "CPlusPlus::PointerType":
d.putValue(d.hexencode(extractPointerType(d, type)), Hex2EncodedLatin1)
def qdump__CPlusPlus__NamedType(d, value):
dumpLiteral(d, value["_name"])
Supports Markdown
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