https://lab.llvm.org/buildbot/#/builders/17/builds/13728 found an issue
in the optional formatter.
This commit is contained in:
Walter Erquinigo 2021-11-22 16:33:11 -08:00
parent bb0d8e4bd9
commit a2c76312ed

View file

@ -35,6 +35,10 @@ class StdOptionalSynthProvider:
return 0
def get_child_at_index(self, index):
# some versions of libstdcpp have an additional _M_value child with the actual value
possible_value = self.value.GetChildMemberWithName('_M_value')
if possible_value.IsValid():
return possible_value.Clone('Value')
return self.value.Clone('Value')
"""