[all-commits] [llvm/llvm-project] 746903: [lldb] Constify methods in CommandReturnObject (NFC)

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Thu Jan 30 10:45:32 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 74690327c8fb3b1bc8722b8ae40091b268100468
      https://github.com/llvm/llvm-project/commit/74690327c8fb3b1bc8722b8ae40091b268100468
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2025-01-30 (Thu, 30 Jan 2025)

  Changed paths:
    M lldb/include/lldb/Interpreter/CommandReturnObject.h
    M lldb/include/lldb/Utility/StreamTee.h
    M lldb/source/Interpreter/CommandReturnObject.cpp

  Log Message:
  -----------
  [lldb] Constify methods in CommandReturnObject (NFC)

There's no reason these methods cannot be `const`. Currently this
prevents us from passing around a const ref. This patch is in
preparation for #125006.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list