summaryrefslogtreecommitdiffstats
path: root/lldb/source/DataFormatters/ValueObjectPrinter.cpp
diff options
context:
space:
mode:
authorDaniel Malea <daniel.malea@intel.com>2013-09-30 23:12:05 +0000
committerDaniel Malea <daniel.malea@intel.com>2013-09-30 23:12:05 +0000
commit73435afda7b5681ce522ff1ef806bb43e93056de (patch)
tree84615f974b0e870e7f859711c14f37db9b1c936b /lldb/source/DataFormatters/ValueObjectPrinter.cpp
parentf6dfe33492579ae5eb9d9624c52699ad2b34bb40 (diff)
downloadbcm5719-llvm-73435afda7b5681ce522ff1ef806bb43e93056de.tar.gz
bcm5719-llvm-73435afda7b5681ce522ff1ef806bb43e93056de.zip
Fix build with GCC 4.6.2 (non-c++11 compilant compiler)
- delegating c'tors not supported llvm-svn: 191709
Diffstat (limited to 'lldb/source/DataFormatters/ValueObjectPrinter.cpp')
-rw-r--r--lldb/source/DataFormatters/ValueObjectPrinter.cpp21
1 files changed, 16 insertions, 5 deletions
diff --git a/lldb/source/DataFormatters/ValueObjectPrinter.cpp b/lldb/source/DataFormatters/ValueObjectPrinter.cpp
index 417b5822aab..7432f340f40 100644
--- a/lldb/source/DataFormatters/ValueObjectPrinter.cpp
+++ b/lldb/source/DataFormatters/ValueObjectPrinter.cpp
@@ -48,11 +48,22 @@ ValueObjectPrinter::ValueObjectPrinter (ValueObject* valobj,
const DumpValueObjectOptions& options,
uint32_t ptr_depth,
uint32_t curr_depth) :
- ValueObjectPrinter(valobj,s,options)
-{
- m_ptr_depth = ptr_depth;
- m_curr_depth = curr_depth;
-}
+ m_orig_valobj(valobj),
+ m_valobj(nullptr),
+ m_stream(s),
+ options(options),
+ m_ptr_depth(ptr_depth),
+ m_curr_depth(curr_depth),
+ m_should_print(eLazyBoolCalculate),
+ m_is_nil(eLazyBoolCalculate),
+ m_is_ptr(eLazyBoolCalculate),
+ m_is_ref(eLazyBoolCalculate),
+ m_is_aggregate(eLazyBoolCalculate),
+ m_summary_formatter({nullptr,false}),
+ m_value(),
+ m_summary(),
+ m_error()
+{ }
bool
ValueObjectPrinter::PrintValueObject ()
OpenPOWER on IntegriCloud