[Utility] Avoid a few unnecessary copies (NFC)
authorJonas Devlieghere <jonas@devlieghere.com>
Thu, 23 May 2019 20:05:21 +0000 (20:05 +0000)
committerJonas Devlieghere <jonas@devlieghere.com>
Thu, 23 May 2019 20:05:21 +0000 (20:05 +0000)
commit266b65f8404fd2dbac6b17ebdb90507273418cb0
tree59d60d2c5bb614f2c792924def2112c551cff23a
parentf81ebfb045b8b85b460a51d48f652741cce303a3
[Utility] Avoid a few unnecessary copies (NFC)

Avoid unnecessary copies by either passing by const-reference or moving
the argument.

llvm-svn: 361544
lldb/include/lldb/Utility/Broadcaster.h
lldb/include/lldb/Utility/Listener.h
lldb/source/Utility/Broadcaster.cpp
lldb/source/Utility/Listener.cpp