diff options
Diffstat (limited to 'lldb/source/Utility/Log.cpp')
| -rw-r--r-- | lldb/source/Utility/Log.cpp | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/lldb/source/Utility/Log.cpp b/lldb/source/Utility/Log.cpp index 16396fb8b03..abc022acd4e 100644 --- a/lldb/source/Utility/Log.cpp +++ b/lldb/source/Utility/Log.cpp @@ -121,9 +121,9 @@ void Log::Printf(const char *format, ...) { } //---------------------------------------------------------------------- -// All logging eventually boils down to this function call. If we have -// a callback registered, then we call the logging callback. If we have -// a valid file handle, we also log to the file. +// All logging eventually boils down to this function call. If we have a +// callback registered, then we call the logging callback. If we have a valid +// file handle, we also log to the file. //---------------------------------------------------------------------- void Log::VAPrintf(const char *format, va_list args) { llvm::SmallString<64> FinalMessage; @@ -156,8 +156,7 @@ void Log::VAError(const char *format, va_list args) { } //---------------------------------------------------------------------- -// Printing of warnings that are not fatal only if verbose mode is -// enabled. +// Printing of warnings that are not fatal only if verbose mode is enabled. //---------------------------------------------------------------------- void Log::Verbose(const char *format, ...) { if (!GetVerbose()) @@ -302,8 +301,8 @@ void Log::WriteHeader(llvm::raw_ostream &OS, llvm::StringRef file, } void Log::WriteMessage(const std::string &message) { - // Make a copy of our stream shared pointer in case someone disables our - // log while we are logging and releases the stream + // Make a copy of our stream shared pointer in case someone disables our log + // while we are logging and releases the stream auto stream_sp = GetStream(); if (!stream_sp) return; |

