[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.
This commit is contained in:
Jonas Devlieghere
2019-12-22 21:35:05 -08:00
parent b449d19e55
commit 1562511275
7 changed files with 12 additions and 26 deletions

View File

@@ -224,7 +224,7 @@ public:
std::string &output, Status &error) override;
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) override;