[all-commits] [llvm/llvm-project] 170b55: [lldb] Scalar::GetValue() should take a Stream by ...

Alex Langford via All-commits all-commits at lists.llvm.org
Tue Oct 17 15:41:06 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 170b552136f845ffc4267c8728629b6b6b19518d
      https://github.com/llvm/llvm-project/commit/170b552136f845ffc4267c8728629b6b6b19518d
  Author: Alex Langford <alangford at apple.com>
  Date:   2023-10-17 (Tue, 17 Oct 2023)

  Changed paths:
    M lldb/include/lldb/Utility/Scalar.h
    M lldb/source/Core/Value.cpp
    M lldb/source/Interpreter/CommandInterpreter.cpp
    M lldb/source/Utility/Scalar.cpp
    M lldb/unittests/Utility/ScalarTest.cpp

  Log Message:
  -----------
  [lldb] Scalar::GetValue() should take a Stream by reference (#69231)

This function always expects the pointer to be valid, a reference seems
more appropriate.




More information about the All-commits mailing list