[all-commits] [llvm/llvm-project] 03b776: [lldb][Expression][NFC] Make LoadAddressResolver::...

Michael Buch via All-commits all-commits at lists.llvm.org
Fri Jul 18 06:31:33 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 03b7766dba2f63ee7c9e67f915ea8394f6426f9a
      https://github.com/llvm/llvm-project/commit/03b7766dba2f63ee7c9e67f915ea8394f6426f9a
  Author: Michael Buch <michaelbuch12 at gmail.com>
  Date:   2025-07-18 (Fri, 18 Jul 2025)

  Changed paths:
    M lldb/source/Expression/IRExecutionUnit.cpp

  Log Message:
  -----------
  [lldb][Expression][NFC] Make LoadAddressResolver::m_target a reference (#149490)

The only place that passes a target to `LoadAddressResolver` already
checks for pointer validity. And inside of the resolver we have been
dereferencing the target anyway without nullptr checks. So codify the
non-nullness of `m_target` by making it a reference.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list