Please use GitHub pull requests for new patches. Phabricator shutdown timeline
Changeset View
Changeset View
Standalone View
Standalone View
source/Plugins/Language/CPlusPlus/LibCxxVariant.cpp
Show First 20 Lines • Show All 105 Lines • ▼ Show 20 Lines | for (uint64_t n = index; n != 0; --n) { | ||||
if (!tail_sp) | if (!tail_sp) | ||||
return ValueObjectSP{}; | return ValueObjectSP{}; | ||||
current_level = tail_sp; | current_level = tail_sp; | ||||
} | } | ||||
return current_level->GetChildMemberWithName(ConstString("__head"), true); | return current_level->GetChildMemberWithName(ConstString("__head"), true); | ||||
}; | } | ||||
} // namespace | } // namespace | ||||
namespace lldb_private { | namespace lldb_private { | ||||
namespace formatters { | namespace formatters { | ||||
bool LibcxxVariantSummaryProvider(ValueObject &valobj, Stream &stream, | bool LibcxxVariantSummaryProvider(ValueObject &valobj, Stream &stream, | ||||
const TypeSummaryOptions &options) { | const TypeSummaryOptions &options) { | ||||
ValueObjectSP valobj_sp(valobj.GetNonSyntheticValue()); | ValueObjectSP valobj_sp(valobj.GetNonSyntheticValue()); | ||||
if (!valobj_sp) | if (!valobj_sp) | ||||
▲ Show 20 Lines • Show All 134 Lines • Show Last 20 Lines |