[all-commits] [llvm/llvm-project] 516ba1: [lldb] [nfc] Simplify user_id_t -> size_t

Jan Kratochvil via All-commits all-commits at lists.llvm.org
Mon Feb 17 01:25:32 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 516ba158b6890bbcca71527ae0719de151b9de5f
      https://github.com/llvm/llvm-project/commit/516ba158b6890bbcca71527ae0719de151b9de5f
  Author: Jan Kratochvil <jan.kratochvil at redhat.com>
  Date:   2020-02-17 (Mon, 17 Feb 2020)

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

  Log Message:
  -----------
  [lldb] [nfc] Simplify user_id_t -> size_t

As discussed in https://reviews.llvm.org/D73206#1871895> simplifying
usage of `user_id_t`.

There is even written:
  // The compile unit ID is the index of the DWARF unit.
  DWARFUnit *dwarf_cu = info->GetUnitAtIndex(comp_unit->GetID());

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




More information about the All-commits mailing list