79 return llvm::createStringError(
"Type has no child named '%s'",
97 auto value_sp = synth_sp->GetChildAtIndex(0);
99 if (value_sp->GetSummaryAsCString(summary, options) && !summary.empty()) {
108 return valobj_sp->GetChildMemberWithName(
"_Storage") !=
nullptr;
Generic representation of a type in a programming language.
A uniqued constant string class.
const char * AsCString(const char *value_if_empty=nullptr) const
Get the string value as a C string.
A stream class that can stream formatted output to a file.
SyntheticChildrenFrontEnd(ValueObject &backend)
lldb::ValueObjectSP GetSyntheticValue()
virtual lldb::ValueObjectSP GetNonSyntheticValue()
A class that represents a running process on the host machine.
ChildCacheState
Specifies if children need to be re-computed after a call to SyntheticChildrenFrontEnd::Update.
@ eRefetch
Children need to be recomputed dynamically.
std::shared_ptr< lldb_private::ValueObject > ValueObjectSP