[all-commits] [llvm/llvm-project] 557448: [DebugInfo] Use std::map::try_emplace (NFC) (#140839)

Kazu Hirata via All-commits all-commits at lists.llvm.org
Tue May 20 21:39:56 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 557448e14420e1a916280ea6c61cafbf833ff948
      https://github.com/llvm/llvm-project/commit/557448e14420e1a916280ea6c61cafbf833ff948
  Author: Kazu Hirata <kazu at google.com>
  Date:   2025-05-20 (Tue, 20 May 2025)

  Changed paths:
    M llvm/lib/DebugInfo/DWARF/DWARFContext.cpp

  Log Message:
  -----------
  [DebugInfo] Use std::map::try_emplace (NFC) (#140839)

This patch provides default member initialization for SymInfo, which
in turns allows us to call std::map::try_emplace without the value.



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