forked from qt-creator/qt-creator
C++ Dumper: Support int in template arguments
e.g. Temp<int> Change-Id: I3d737a696396548a896685aa48fc99a1c3289a6c Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
4f743e9bbb
commit
4752c809c9
@@ -43,7 +43,12 @@ def extractPointerType(d, value):
|
||||
while stripTypeName(value) == "CPlusPlus::PointerType":
|
||||
postfix += "*"
|
||||
value = d.downcast(value["_elementType"]["_type"])
|
||||
try:
|
||||
return readLiteral(d, value["_name"]) + postfix
|
||||
except:
|
||||
if str(value.type.unqualified().target()) == "CPlusPlus::IntegerType":
|
||||
return "int" + postfix
|
||||
return "<unsupported>"
|
||||
|
||||
def readTemplateName(d, value):
|
||||
name = readLiteral(d, value["_identifier"]) + "<"
|
||||
|
Reference in New Issue
Block a user