[all-commits] [llvm/llvm-project] b2fa3b: [lldb] Make GetSelectedOrDummyTarget return the ta...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Mon Nov 9 15:42:45 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: b2fa3b922ecb219429ec7b839d15a06aedbc955a
      https://github.com/llvm/llvm-project/commit/b2fa3b922ecb219429ec7b839d15a06aedbc955a
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2020-11-09 (Mon, 09 Nov 2020)

  Changed paths:
    M lldb/include/lldb/Core/Debugger.h
    M lldb/include/lldb/Target/Target.h
    M lldb/source/API/SBDebugger.cpp
    M lldb/source/Commands/CommandObjectExpression.cpp
    M lldb/source/Core/Debugger.cpp
    M lldb/source/Interpreter/CommandInterpreter.cpp
    M lldb/source/Interpreter/CommandObject.cpp
    M lldb/source/Target/Target.cpp

  Log Message:
  -----------
  [lldb] Make GetSelectedOrDummyTarget return the target by reference (NFC)

Return references from GetDummyTarget and GetSelectedOrDummyTarget. This
matches how the APIs are already used in practice.




More information about the All-commits mailing list