Author: Med Ismail Bennani Date: 2020-07-22T11:48:07+02:00 New Revision: 33981c672405979c15e57c8662cad79410b0752b
URL: https://github.com/llvm/llvm-project/commit/33981c672405979c15e57c8662cad79410b0752b DIFF: https://github.com/llvm/llvm-project/commit/33981c672405979c15e57c8662cad79410b0752b.diff LOG: [lldb/interpreter] Fix formatting in CommandInterpreter.cpp (NFC) This patch addresses some formatting issues introduced by commit 5bb742b10dafd595223172ae985687765934ebe9 Signed-off-by: Med Ismail Bennani <medismail.benn...@gmail.com> Added: Modified: lldb/source/Commands/CommandObjectQuit.cpp lldb/source/Interpreter/CommandInterpreter.cpp Removed: ################################################################################ diff --git a/lldb/source/Commands/CommandObjectQuit.cpp b/lldb/source/Commands/CommandObjectQuit.cpp index c9fb59acc83f..d4d15bea9a8e 100644 --- a/lldb/source/Commands/CommandObjectQuit.cpp +++ b/lldb/source/Commands/CommandObjectQuit.cpp @@ -104,7 +104,6 @@ bool CommandObjectQuit::DoExecute(Args &command, CommandReturnObject &result) { m_interpreter.BroadcastEvent(event_type); result.SetStatus(eReturnStatusQuit); - if (m_interpreter.GetSaveSessionOnQuit()) m_interpreter.SaveTranscript(result); diff --git a/lldb/source/Interpreter/CommandInterpreter.cpp b/lldb/source/Interpreter/CommandInterpreter.cpp index 1eddf0b5fa12..0fd41d1be897 100644 --- a/lldb/source/Interpreter/CommandInterpreter.cpp +++ b/lldb/source/Interpreter/CommandInterpreter.cpp @@ -2938,7 +2938,8 @@ bool CommandInterpreter::SaveTranscript( return error_out("Unable to write to destination file", "Bytes written do not match transcript size."); - result.AppendMessageWithFormat("Session's transcripts saved to %s\n", output_file->c_str()); + result.AppendMessageWithFormat("Session's transcripts saved to %s\n", + output_file->c_str()); return true; } _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits