diff options
| author | Jonas Devlieghere <jonas@devlieghere.com> | 2019-12-22 21:35:05 -0800 |
|---|---|---|
| committer | Jonas Devlieghere <jonas@devlieghere.com> | 2019-12-22 21:36:03 -0800 |
| commit | 1562511275fe1f002458194c085216cf9ae36d1f (patch) | |
| tree | 39e276d5747f75fde7160accbe63109df1ae1c6e /lldb/include | |
| parent | b449d19e55888ab9554b04184c6d9716389820fd (diff) | |
| download | bcm5719-llvm-1562511275fe1f002458194c085216cf9ae36d1f.tar.gz bcm5719-llvm-1562511275fe1f002458194c085216cf9ae36d1f.zip | |
[lldb/ScriptInterpreter] Remove can_reload which is always true (NFC)
The `-r` option for `command script import` is there for legacy
compatibility, however the can_reload flag is always set to true. This
patch removes the flag and any code that relies on it being false.
Diffstat (limited to 'lldb/include')
| -rw-r--r-- | lldb/include/lldb/Interpreter/ScriptInterpreter.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/include/lldb/Interpreter/ScriptInterpreter.h b/lldb/include/lldb/Interpreter/ScriptInterpreter.h index 4b866949514..1784c93adba 100644 --- a/lldb/include/lldb/Interpreter/ScriptInterpreter.h +++ b/lldb/include/lldb/Interpreter/ScriptInterpreter.h @@ -457,7 +457,7 @@ public: virtual bool CheckObjectExists(const char *name) { return false; } virtual bool - LoadScriptingModule(const char *filename, bool can_reload, bool init_session, + LoadScriptingModule(const char *filename, bool init_session, lldb_private::Status &error, StructuredData::ObjectSP *module_sp = nullptr); |

