1
0
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:
Adrian Prantl 2020-08-26 15:10:31 -07:00
parent ecc3e51e55
commit cf37209c05

View File

@ -111,7 +111,7 @@ def OptionalSummaryProvider(valobj, internal_dict):
return 'None'
underlying_type = storage.GetType().GetTemplateArgumentType(0)
storage = storage.GetChildMemberWithName('storage')
storage = storage.GetChildMemberWithName('value')
return str(storage.Cast(underlying_type))
def SmallStringSummaryProvider(valobj, internal_dict):