[all-commits] [llvm/llvm-project] 013c7b: [CodeGen] Use DenseMap::try_emplace (NFC) (#140430)

Kazu Hirata via All-commits all-commits at lists.llvm.org
Sun May 18 07:33:23 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 013c7ba78590badf20d769a2de13bddabcfb1c5d
      https://github.com/llvm/llvm-project/commit/013c7ba78590badf20d769a2de13bddabcfb1c5d
  Author: Kazu Hirata <kazu at google.com>
  Date:   2025-05-18 (Sun, 18 May 2025)

  Changed paths:
    M clang/lib/CodeGen/MicrosoftCXXABI.cpp

  Log Message:
  -----------
  [CodeGen] Use DenseMap::try_emplace (NFC) (#140430)

We can simplify the code with DenseMap::try_emplace and structured
binding.  Note that DenseMap::try_emplace default-constructs the value
if omitted.



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