aboutsummaryrefslogtreecommitdiff
path: root/include/lldb/Interpreter/OptionValue.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/lldb/Interpreter/OptionValue.h')
-rw-r--r--include/lldb/Interpreter/OptionValue.h15
1 files changed, 13 insertions, 2 deletions
diff --git a/include/lldb/Interpreter/OptionValue.h b/include/lldb/Interpreter/OptionValue.h
index 0e8f23453a8a..787430a96ef5 100644
--- a/include/lldb/Interpreter/OptionValue.h
+++ b/include/lldb/Interpreter/OptionValue.h
@@ -17,6 +17,7 @@
#include "lldb/lldb-defines.h"
#include "lldb/Core/ConstString.h"
#include "lldb/Core/Error.h"
+#include "lldb/Core/FormatEntity.h"
namespace lldb_private {
@@ -45,7 +46,8 @@ namespace lldb_private {
eTypeSInt64,
eTypeString,
eTypeUInt64,
- eTypeUUID
+ eTypeUUID,
+ eTypeFormatEntity
} Type;
enum {
@@ -309,7 +311,13 @@ namespace lldb_private {
const OptionValueUUID *
GetAsUUID () const;
-
+
+ OptionValueFormatEntity *
+ GetAsFormatEntity ();
+
+ const OptionValueFormatEntity *
+ GetAsFormatEntity () const;
+
bool
GetBooleanValue (bool fail_value = false) const;
@@ -341,6 +349,9 @@ namespace lldb_private {
bool
SetFormatValue (lldb::Format new_value);
+ const FormatEntity::Entry *
+ GetFormatEntity () const;
+
const RegularExpression *
GetRegexValue () const;