ladybird/DevTools/HackStudio/Debugger
Lenny Maiorani f99d1d3bd7 Vector: Implement find, find_if, find_first_matching in terms of AK::find*
Problem:
- The implementation of `find` is coupled to the implementation of `Vector`.
- `Vector::find` takes the predicate by value which might be expensive.

Solution:
- Decouple the implementation of `find` from `Vector` by using a
  generic `find` algorithm.
- Change the name of `find` with a predicate to `find_if` so that a
  binding reference can be used and the predicate can be forwarded to
  avoid copies.
- Change all the `find(pred)` call sites to use `find_if`.
2021-01-11 19:45:05 +01:00
..
BacktraceModel.cpp HackStudio: Make debugger support shared libraries 2021-01-09 10:55:46 +01:00
BacktraceModel.h LibDebug: Move everything into the "Debug" namespace 2020-08-25 09:46:06 +02:00
BreakpointCallback.h HackStudio: Move everything into the HackStudio namespace 2020-08-17 18:05:35 +02:00
Debugger.cpp HackStudio: Make debugger support shared libraries 2021-01-09 10:55:46 +01:00
Debugger.h HackStudio: Make debugger support shared libraries 2021-01-09 10:55:46 +01:00
DebugInfoWidget.cpp HackStudio: Use new format functions. 2020-10-09 20:52:17 +02:00
DebugInfoWidget.h Meta+DevTools: Make clang-format-10 clean 2020-09-25 21:18:17 +02:00
DisassemblyModel.cpp AK: Make MappedFile heap-allocated and ref-counted 2021-01-10 16:49:13 +01:00
DisassemblyModel.h HackStudio: Add a disassembly view for the current function in debug mode 2020-08-25 09:46:06 +02:00
DisassemblyWidget.cpp HackStudio: Make debugger support shared libraries 2021-01-09 10:55:46 +01:00
DisassemblyWidget.h Meta+DevTools: Make clang-format-10 clean 2020-09-25 21:18:17 +02:00
RegistersModel.cpp HackStudio: Use new format functions. 2020-10-09 20:52:17 +02:00
RegistersModel.h HackStudio: Highlight register changes, minor disassembly view fix 2020-08-30 17:31:33 +02:00
VariablesModel.cpp Vector: Implement find, find_if, find_first_matching in terms of AK::find* 2021-01-11 19:45:05 +01:00
VariablesModel.h LibDebug: Move everything into the "Debug" namespace 2020-08-25 09:46:06 +02:00