[llvm] a206ca4 - Bring llvm::Optional data formatter back in sync with the implementation.
Adrian Prantl via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 26 15:10:51 PDT 2020
Author: Adrian Prantl
Date: 2020-08-26T15:10:39-07:00
New Revision: a206ca40b5cf4bb8d8e84aedd4fb34952001f80b
URL: https://github.com/llvm/llvm-project/commit/a206ca40b5cf4bb8d8e84aedd4fb34952001f80b
DIFF: https://github.com/llvm/llvm-project/commit/a206ca40b5cf4bb8d8e84aedd4fb34952001f80b.diff
LOG: Bring llvm::Optional data formatter back in sync with the implementation.
Added:
Modified:
llvm/utils/lldbDataFormatters.py
Removed:
################################################################################
diff --git a/llvm/utils/lldbDataFormatters.py b/llvm/utils/lldbDataFormatters.py
index 98c909900bcc..b5daa09bdeec 100644
--- a/llvm/utils/lldbDataFormatters.py
+++ b/llvm/utils/lldbDataFormatters.py
@@ -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):
More information about the llvm-commits
mailing list