[all-commits] [llvm/llvm-project] 2bb2a4: [lldb][ValueObject][NFC] Further remove redundant ...

Michael Buch via All-commits all-commits at lists.llvm.org
Mon Jan 15 13:04:17 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2bb2a42fa261d728e32ba0b1f9cf27ba7991440f
      https://github.com/llvm/llvm-project/commit/2bb2a42fa261d728e32ba0b1f9cf27ba7991440f
  Author: Michael Buch <michaelbuch12 at gmail.com>
  Date:   2024-01-15 (Mon, 15 Jan 2024)

  Changed paths:
    M lldb/include/lldb/Core/ValueObject.h
    M lldb/source/Core/ValueObject.cpp

  Log Message:
  -----------
  [lldb][ValueObject][NFC] Further remove redundant parameters to ReadPointedString (#78029)

We only ever call this function once, without relying on the defaulted
`honor_array` parameter, so make it non-defaulted. Also `max_length` is
always set to `0`, so remove it entirely.

This simplifies some upcoming refactoring.




More information about the All-commits mailing list