diff options
Diffstat (limited to 'lldb/include/lldb/Interpreter/OptionValueString.h')
| -rw-r--r-- | lldb/include/lldb/Interpreter/OptionValueString.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/include/lldb/Interpreter/OptionValueString.h b/lldb/include/lldb/Interpreter/OptionValueString.h index 42c2e9e6605..f3caada4c2a 100644 --- a/lldb/include/lldb/Interpreter/OptionValueString.h +++ b/lldb/include/lldb/Interpreter/OptionValueString.h @@ -110,8 +110,10 @@ public: } const char *GetCurrentValue() const { return m_current_value.c_str(); } + llvm::StringRef GetCurrentValueAsRef() const { return m_current_value; } const char *GetDefaultValue() const { return m_default_value.c_str(); } + llvm::StringRef GetDefaultValueAsRef() const { return m_default_value; } Error SetCurrentValue(const char *value); |

