[all-commits] [llvm/llvm-project] 586414: [lldb] Simplify Log::PutString (NFC)

Dave Lee via All-commits all-commits at lists.llvm.org
Tue May 9 10:40:55 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 58641492741818b987ec86ab75c2cd438dd3ac63
      https://github.com/llvm/llvm-project/commit/58641492741818b987ec86ab75c2cd438dd3ac63
  Author: Dave Lee <davelee.com at gmail.com>
  Date:   2023-05-09 (Tue, 09 May 2023)

  Changed paths:
    M lldb/source/Utility/Log.cpp

  Log Message:
  -----------
  [lldb] Simplify Log::PutString (NFC)

* As no format string is involved, avoid unecessary call into `Printf`
* Eliminate creation of a `std::string` to print a `StringRef`

Differential Revision: https://reviews.llvm.org/D150160




More information about the All-commits mailing list