mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 10:42:39 +01:00
Bring llvm::Optional data formatter back in sync with the implementation.
This commit is contained in:
parent
ecc3e51e55
commit
cf37209c05
@ -111,7 +111,7 @@ def OptionalSummaryProvider(valobj, internal_dict):
|
|||||||
return 'None'
|
return 'None'
|
||||||
|
|
||||||
underlying_type = storage.GetType().GetTemplateArgumentType(0)
|
underlying_type = storage.GetType().GetTemplateArgumentType(0)
|
||||||
storage = storage.GetChildMemberWithName('storage')
|
storage = storage.GetChildMemberWithName('value')
|
||||||
return str(storage.Cast(underlying_type))
|
return str(storage.Cast(underlying_type))
|
||||||
|
|
||||||
def SmallStringSummaryProvider(valobj, internal_dict):
|
def SmallStringSummaryProvider(valobj, internal_dict):
|
||||||
|
Loading…
Reference in New Issue
Block a user