Everywhere: Use east const in more places

These changes are compatible with clang-format 16 and will be mandatory
when we eventually bump clang-format version. So, since there are no
real downsides, let's commit them now.
This commit is contained in:
Dan Klishch
2024-04-18 15:32:56 -04:00
committed by Tim Flynn
parent 5ef6df79ed
commit 5ed7cd6e32
175 changed files with 353 additions and 353 deletions

View File

@@ -1044,7 +1044,7 @@ void HackStudioWidget::initialize_debugger()
m_project->root_path(),
[this](PtraceRegisters const& regs) {
VERIFY(Debugger::the().session());
const auto& debug_session = *Debugger::the().session();
auto const& debug_session = *Debugger::the().session();
auto source_position = debug_session.get_source_position(regs.ip());
if (!source_position.has_value()) {
dbgln("Could not find source position for address: {:p}", regs.ip());