summaryrefslogtreecommitdiff
path: root/include/lldb/DataFormatters/DumpValueObjectOptions.h
diff options
context:
space:
mode:
authorEugene Zelenko <eugene.zelenko@gmail.com>2015-10-27 17:20:33 +0000
committerEugene Zelenko <eugene.zelenko@gmail.com>2015-10-27 17:20:33 +0000
commitea58b1dafe6e398c79cf482a618e1d0b9e07dec3 (patch)
tree0622498438ce08bc2b25037419f81359f0ecdc76 /include/lldb/DataFormatters/DumpValueObjectOptions.h
parent8917a8c8e1bc370c08229d1b4ace1d6d660230a0 (diff)
Fix Clang-tidy modernize-use-nullptr warnings in include/lldb/DataFormatters, Breakpoint and Utility; other minor fixes.
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@251416 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/lldb/DataFormatters/DumpValueObjectOptions.h')
-rw-r--r--include/lldb/DataFormatters/DumpValueObjectOptions.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/include/lldb/DataFormatters/DumpValueObjectOptions.h b/include/lldb/DataFormatters/DumpValueObjectOptions.h
index 7dced3174..7f362fdd8 100644
--- a/include/lldb/DataFormatters/DumpValueObjectOptions.h
+++ b/include/lldb/DataFormatters/DumpValueObjectOptions.h
@@ -1,4 +1,4 @@
-//===-- DumpValueObjectOptions.h ---------------------------------------*- C++ -*-===//
+//===-- DumpValueObjectOptions.h --------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
@@ -12,6 +12,7 @@
// C Includes
// C++ Includes
+#include <string>
// Other libraries and framework includes
// Project includes
@@ -60,7 +61,6 @@ public:
const DumpValueObjectOptions &,
Stream&)> DeclPrintingHelper;
-public:
static const DumpValueObjectOptions
DefaultOptions()
{
@@ -124,7 +124,7 @@ public:
SetSummary (lldb::TypeSummaryImplSP summary = lldb::TypeSummaryImplSP());
DumpValueObjectOptions&
- SetRootValueObjectName (const char* name = NULL);
+ SetRootValueObjectName(const char* name = nullptr);
DumpValueObjectOptions&
SetHideRootType (bool hide_root_type = false);
@@ -150,7 +150,6 @@ public:
DumpValueObjectOptions&
SetAllowOnelinerMode (bool oneliner = false);
-public:
uint32_t m_max_depth = UINT32_MAX;
lldb::DynamicValueType m_use_dynamic = lldb::eNoDynamicValues;
uint32_t m_omit_summary_depth = 0;
@@ -174,8 +173,8 @@ public:
bool m_use_type_display_name : 1;
bool m_allow_oneliner_mode : 1;
bool m_hide_pointer_value : 1;
-
};
+
} // namespace lldb_private
-#endif // lldb_DumpValueObjectOptions_h_
+#endif // lldb_DumpValueObjectOptions_h_