[all-commits] [llvm/llvm-project] 13bccd: [ADT] Use brace initialization in Set/Map (NFC) (#...

Kazu Hirata via All-commits all-commits at lists.llvm.org
Sun Aug 24 14:47:19 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 13bccde706f987f972ce5ef55a385e42ed6ee984
      https://github.com/llvm/llvm-project/commit/13bccde706f987f972ce5ef55a385e42ed6ee984
  Author: Kazu Hirata <kazu at google.com>
  Date:   2025-08-24 (Sun, 24 Aug 2025)

  Changed paths:
    M llvm/include/llvm/ADT/DenseMap.h
    M llvm/include/llvm/ADT/MapVector.h
    M llvm/include/llvm/ADT/SmallPtrSet.h
    M llvm/include/llvm/ADT/SparseSet.h
    M llvm/include/llvm/ADT/StringMap.h

  Log Message:
  -----------
  [ADT] Use brace initialization in Set/Map (NFC) (#155182)

With brace initialization, we get to avoid type decay and enjoy
guaranteed copy elision as part of C++17.



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