[lldb] Simplify predicates of find_if in BroadcastManager
authorAlex Langford <alangford@apple.com>
Tue, 9 May 2023 01:29:38 +0000 (18:29 -0700)
committerAlex Langford <alangford@apple.com>
Tue, 9 May 2023 17:00:02 +0000 (10:00 -0700)
commitec77d1f3d9fcf7105b6bda25fb4d0e5ed5afd0c5
tree97703fc7d163228ee490067a125ef90f43040c04
parentaa326559c443382030c735db167645685da245a2
[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
lldb/include/lldb/Utility/Broadcaster.h
lldb/source/Utility/Broadcaster.cpp