[all-commits] [llvm/llvm-project] 02c75e: [ADT] Enable structured bindings for iterating Str...

Benjamin Kramer via All-commits all-commits at lists.llvm.org
Sun Dec 4 09:36:40 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 02c75e8465c8a637a0b32e8330458f4cb516a283
      https://github.com/llvm/llvm-project/commit/02c75e8465c8a637a0b32e8330458f4cb516a283
  Author: Benjamin Kramer <benny.kra at googlemail.com>
  Date:   2022-12-04 (Sun, 04 Dec 2022)

  Changed paths:
    M llvm/include/llvm/ADT/StringMapEntry.h
    M llvm/unittests/ADT/StringMapTest.cpp

  Log Message:
  -----------
  [ADT] Enable structured bindings for iterating StringMap

const references only for now, we can add overloads to have a mutable or
movable `second` if the need arises.




More information about the All-commits mailing list