summaryrefslogtreecommitdiff
path: root/contrib/llvm/tools/lldb/source/DataFormatters/DumpValueObjectOptions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/llvm/tools/lldb/source/DataFormatters/DumpValueObjectOptions.cpp')
-rw-r--r--contrib/llvm/tools/lldb/source/DataFormatters/DumpValueObjectOptions.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/contrib/llvm/tools/lldb/source/DataFormatters/DumpValueObjectOptions.cpp b/contrib/llvm/tools/lldb/source/DataFormatters/DumpValueObjectOptions.cpp
index f3de1257bb80..e1f5320feee6 100644
--- a/contrib/llvm/tools/lldb/source/DataFormatters/DumpValueObjectOptions.cpp
+++ b/contrib/llvm/tools/lldb/source/DataFormatters/DumpValueObjectOptions.cpp
@@ -242,4 +242,10 @@ DumpValueObjectOptions::SetRevealEmptyAggregates (bool reveal)
m_reveal_empty_aggregates = reveal;
return *this;
}
-
+
+DumpValueObjectOptions&
+DumpValueObjectOptions::SetElementCount (uint32_t element_count)
+{
+ m_element_count = element_count;
+ return *this;
+}