[all-commits] [llvm/llvm-project] ec77d1: [lldb] Simplify predicates of find_if in Broadcast...

Alex via All-commits all-commits at lists.llvm.org
Tue May 9 10:00:18 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ec77d1f3d9fcf7105b6bda25fb4d0e5ed5afd0c5
      https://github.com/llvm/llvm-project/commit/ec77d1f3d9fcf7105b6bda25fb4d0e5ed5afd0c5
  Author: Alex Langford <alangford at apple.com>
  Date:   2023-05-09 (Tue, 09 May 2023)

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

  Log Message:
  -----------
  [lldb] Simplify predicates of find_if in BroadcastManager

We had some custom classes that were used as the predicate for
`std::find_if`. It would be a lot simpler if we used lambdas instead.

Differential Revision: https://reviews.llvm.org/D150168




More information about the All-commits mailing list