79 return llvm::createStringError(
"Type has no child named '%s'",
95 auto value_sp = synth_sp->GetChildAtIndex(0);
97 if (value_sp->GetSummaryAsCString(summary, options) && !summary.empty()) {
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()
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