[all-commits] [llvm/llvm-project] d03d98: [lldb] Replace sprintf with snprintf (NFC)

Dave Lee via All-commits all-commits at lists.llvm.org
Thu Mar 30 12:29:18 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d03d98b71d03eaf2a84e62e461b4fc87940866f1
      https://github.com/llvm/llvm-project/commit/d03d98b71d03eaf2a84e62e461b4fc87940866f1
  Author: Dave Lee <davelee.com at gmail.com>
  Date:   2023-03-30 (Thu, 30 Mar 2023)

  Changed paths:
    M lldb/source/Core/SourceManager.cpp
    M lldb/source/DataFormatters/StringPrinter.cpp
    M lldb/source/Host/macosx/objcxx/Host.mm

  Log Message:
  -----------
  [lldb] Replace sprintf with snprintf (NFC)

On macOS, `sprintf` is deprecated, using `snprintf` is recommended instead.

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




More information about the All-commits mailing list