[all-commits] [llvm/llvm-project] 193c7d: [lldb][NFCI] Remove custom matcher classes in List...

Alex via All-commits all-commits at lists.llvm.org
Fri Jun 16 10:51:58 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 193c7d10cb30d846d35085a462f8a6c8ad226f1f
      https://github.com/llvm/llvm-project/commit/193c7d10cb30d846d35085a462f8a6c8ad226f1f
  Author: Alex Langford <alangford at apple.com>
  Date:   2023-06-16 (Fri, 16 Jun 2023)

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

  Log Message:
  -----------
  [lldb][NFCI] Remove custom matcher classes in Listener in favor of lambdas

Instead of writing boilerplate classes to serve as matchers for things
like `find_if` and `erase_if`, we can use lambdas. I believe this
simplifies the Listener class.

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




More information about the All-commits mailing list