diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2019-09-25 01:29:41 +0000 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2019-09-25 01:29:41 +0000 |
commit | 4d4a8eed065a4debb97c262c0ee5f1958b234aaa (patch) | |
tree | 8a365216a1336936163b0b5ec201d9e9a01b2699 /lldb/source/Core | |
parent | db90b390998e124908d32cdce07fced974f1b81e (diff) | |
download | bcm5719-llvm-4d4a8eed065a4debb97c262c0ee5f1958b234aaa.tar.gz bcm5719-llvm-4d4a8eed065a4debb97c262c0ee5f1958b234aaa.zip |
remove unused method ResetOutputFileHandle()
ResetOutputFileHandle() isn't being used by anything. Also it's using
FILE*, which is something we should be doing less of. Remove it.
Patch by: Lawrence D'Anna
Differential revision: https://reviews.llvm.org/D68001
llvm-svn: 372800
Diffstat (limited to 'lldb/source/Core')
-rw-r--r-- | lldb/source/Core/Debugger.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lldb/source/Core/Debugger.cpp b/lldb/source/Core/Debugger.cpp index 2e293f57c81..5938c5cfcc2 100644 --- a/lldb/source/Core/Debugger.cpp +++ b/lldb/source/Core/Debugger.cpp @@ -851,11 +851,6 @@ void Debugger::SetOutputFileHandle(FILE *fh, bool tranfer_ownership) { if (!out_file.IsValid()) out_file.SetStream(stdout, false); - // Do not create the ScriptInterpreter just for setting the output file - // handle as the constructor will know how to do the right thing on its own. - if (ScriptInterpreter *script_interpreter = - GetScriptInterpreter(/*can_create=*/false)) - script_interpreter->ResetOutputFileHandle(fh); } void Debugger::SetErrorFileHandle(FILE *fh, bool tranfer_ownership) { |