diff options
author | Greg Clayton <gclayton@apple.com> | 2012-08-22 18:39:03 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2012-08-22 18:39:03 +0000 |
commit | 6920b52be6f8731692a9bff4fe6a7b596cda00c5 (patch) | |
tree | 48998e76a15a5165a7ca5f6eecb90a08a88dfadb /lldb/source/Interpreter/OptionValueFileSpec.cpp | |
parent | 6f0bf8049a4dc08afaba8bfd6bb9a1cd4c77e1b7 (diff) | |
download | bcm5719-llvm-6920b52be6f8731692a9bff4fe6a7b596cda00c5.tar.gz bcm5719-llvm-6920b52be6f8731692a9bff4fe6a7b596cda00c5.zip |
Remove further outdated "settings" code and also implement a few missing things.
llvm-svn: 162376
Diffstat (limited to 'lldb/source/Interpreter/OptionValueFileSpec.cpp')
-rw-r--r-- | lldb/source/Interpreter/OptionValueFileSpec.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lldb/source/Interpreter/OptionValueFileSpec.cpp b/lldb/source/Interpreter/OptionValueFileSpec.cpp index 20b0b043e0b..3a1f26dd5f6 100644 --- a/lldb/source/Interpreter/OptionValueFileSpec.cpp +++ b/lldb/source/Interpreter/OptionValueFileSpec.cpp @@ -113,4 +113,12 @@ OptionValueFileSpec::AutoComplete (CommandInterpreter &interpreter, +const lldb::DataBufferSP & +OptionValueFileSpec::GetFileContents() +{ + if (!m_data_sp && m_current_value) + m_data_sp = m_current_value.ReadFileContents(); + return m_data_sp; +} + |