diff options
Diffstat (limited to 'lldb/source/DataFormatters/FormatCache.cpp')
-rw-r--r-- | lldb/source/DataFormatters/FormatCache.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/lldb/source/DataFormatters/FormatCache.cpp b/lldb/source/DataFormatters/FormatCache.cpp index 67a2e9e802f..69f32ec8670 100644 --- a/lldb/source/DataFormatters/FormatCache.cpp +++ b/lldb/source/DataFormatters/FormatCache.cpp @@ -26,17 +26,21 @@ m_summary_sp(), m_synthetic_sp() {} -FormatCache::Entry::Entry (lldb::TypeSummaryImplSP summary_sp) : FormatCache::Entry() +FormatCache::Entry::Entry (lldb::TypeSummaryImplSP summary_sp) : +m_synthetic_cached(false), +m_synthetic_sp() { SetSummary (summary_sp); } -FormatCache::Entry::Entry (lldb::SyntheticChildrenSP synthetic_sp) : FormatCache::Entry() +FormatCache::Entry::Entry (lldb::SyntheticChildrenSP synthetic_sp) : +m_summary_cached(false), +m_summary_sp() { SetSynthetic (synthetic_sp); } -FormatCache::Entry::Entry (lldb::TypeSummaryImplSP summary_sp,lldb::SyntheticChildrenSP synthetic_sp) : FormatCache::Entry() +FormatCache::Entry::Entry (lldb::TypeSummaryImplSP summary_sp,lldb::SyntheticChildrenSP synthetic_sp) { SetSummary (summary_sp); SetSynthetic (synthetic_sp); |