We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 675be0d commit e63e7daCopy full SHA for e63e7da
lldb/examples/synthetic/gnu_libstdcpp.py
@@ -68,6 +68,11 @@ def extract_type(self):
68
template_arg_num = type.GetNumberOfTemplateArguments() - 1
69
allocator_type = type.GetTemplateArgumentType(template_arg_num)
70
data_type = allocator_type.GetTemplateArgumentType(0)
71
+ if data_type.IsValid():
72
+ return data_type
73
+ type = self.head.GetType()
74
+ head_type = type.GetTypedefedType().GetTypedefedType()
75
+ data_type = head_type.GetTemplateArgumentType(1)
76
return data_type
77
78
def update(self):
0 commit comments