[all-commits] [llvm/llvm-project] 58d84a: [lldb][DWARF][NFC] Reduce scope of ref_addr_size v...

Michael Buch via All-commits all-commits at lists.llvm.org
Thu Jul 3 02:29:00 PDT 2025


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

  Changed paths:
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFFormValue.cpp

  Log Message:
  -----------
  [lldb][DWARF][NFC] Reduce scope of ref_addr_size variable (#146557)

Follow-up to
https://github.com/llvm/llvm-project/pull/145645#discussion_r2174948997

There's no need for this variable to be declared at the function-level.
We reset it in all the cases where it's used anyway.

This patch just inlines the usage of the variable entirely.



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