Commit 4752c809 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh
Browse files

C++ Dumper: Support int in template arguments

e.g. Temp<int>

Change-Id: I3d737a696396548a896685aa48fc99a1c3289a6c
Reviewed-by: Orgad Shaneh's avatarOrgad Shaneh <>
parent 4f743e9b
......@@ -43,7 +43,12 @@ def extractPointerType(d, value):
while stripTypeName(value) == "CPlusPlus::PointerType":
postfix += "*"
value = d.downcast(value["_elementType"]["_type"])
return readLiteral(d, value["_name"]) + postfix
return readLiteral(d, value["_name"]) + postfix
if str(value.type.unqualified().target()) == "CPlusPlus::IntegerType":
return "int" + postfix
return "<unsupported>"
def readTemplateName(d, value):
name = readLiteral(d, value["_identifier"]) + "<"
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