[all-commits] [llvm/llvm-project] 710375: [lldb][NFC] Split out DW_TAG_inheritance parsing i...

Raphael Isemann via All-commits all-commits at lists.llvm.org
Wed Oct 13 04:15:25 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7103753733a83602199958fb189d24f62c7400e8
      https://github.com/llvm/llvm-project/commit/7103753733a83602199958fb189d24f62c7400e8
  Author: Raphael Isemann <teemperor at gmail.com>
  Date:   2021-10-13 (Wed, 13 Oct 2021)

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

  Log Message:
  -----------
  [lldb][NFC] Split out DW_TAG_inheritance parsing into own function

Just moving that block inside DWARFASTParserClang::ParseChildMembers into
its own function. Also early-exiting instead of a large if when
num_attributes is 0.




More information about the All-commits mailing list