mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-27 14:16:08 +00:00
Bring llvm::Optional data formatter back in sync with the implementation.
This commit is contained in:
parent
71f3169e1b
commit
a206ca40b5
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user