[all-commits] [llvm/llvm-project] 89dc70: [lldb] Fix printf format errors

Kazu Hirata via All-commits all-commits at lists.llvm.org
Thu Jan 25 10:39:38 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 89dc7063f6c81d468a61b71b4ca612e22cb87a46
      https://github.com/llvm/llvm-project/commit/89dc7063f6c81d468a61b71b4ca612e22cb87a46
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-01-25 (Thu, 25 Jan 2024)

  Changed paths:
    M lldb/source/Plugins/Language/CPlusPlus/LibCxx.cpp

  Log Message:
  -----------
  [lldb] Fix printf format errors

This patch fixes:

  lldb/source/Plugins/Language/CPlusPlus/LibCxx.cpp:1108:39: error:
  format specifies type 'long long' but the argument has type
  'std::time_t' (aka 'long') [-Werror,-Wformat]

  lldb/source/Plugins/Language/CPlusPlus/LibCxx.cpp:1116:64: error:
  format specifies type 'long long' but the argument has type
  'std::time_t' (aka 'long') [-Werror,-Wformat]




More information about the All-commits mailing list