[all-commits] [llvm/llvm-project] 7ad30f: [lldb/Utility] Use emplace_back instead of push_ba...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Mon Mar 2 15:55:11 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 7ad30f4249cf70983d9f7e921445f7af9e158d38
      https://github.com/llvm/llvm-project/commit/7ad30f4249cf70983d9f7e921445f7af9e158d38
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2020-03-02 (Mon, 02 Mar 2020)

  Changed paths:
    M lldb/source/Utility/Broadcaster.cpp

  Log Message:
  -----------
  [lldb/Utility] Use emplace_back instead of push_back (NFC)

Use emplace_back to allow for in-place construction of the
BroadcastEventSpec instead of copying it.




More information about the All-commits mailing list