[lldb] Make GetSelectedOrDummyTarget return the target by reference (NFC)
authorJonas Devlieghere <jonas@devlieghere.com>
Mon, 9 Nov 2020 23:25:59 +0000 (15:25 -0800)
committerJonas Devlieghere <jonas@devlieghere.com>
Mon, 9 Nov 2020 23:42:27 +0000 (15:42 -0800)
commitb2fa3b922ecb219429ec7b839d15a06aedbc955a
tree266e4fc62625a1487f7620934bbc6b57fdf32d09
parent554939583a122c48e8c3ffa1bff734b3ce963627
[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.
lldb/include/lldb/Core/Debugger.h
lldb/include/lldb/Target/Target.h
lldb/source/API/SBDebugger.cpp
lldb/source/Commands/CommandObjectExpression.cpp
lldb/source/Core/Debugger.cpp
lldb/source/Interpreter/CommandInterpreter.cpp
lldb/source/Interpreter/CommandObject.cpp
lldb/source/Target/Target.cpp