[all-commits] [llvm/llvm-project] d06706: [libc++] fix `array<T, 0>` under `USE_WRAP_ITER` (...

nicole mazzuca via All-commits all-commits at lists.llvm.org
Tue Jul 30 11:24:33 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d067062a42b0ce591f03c15cb76fe0fb27d1d9c1
      https://github.com/llvm/llvm-project/commit/d067062a42b0ce591f03c15cb76fe0fb27d1d9c1
  Author: nicole mazzuca <nicole at strega-nil.co>
  Date:   2024-07-30 (Tue, 30 Jul 2024)

  Changed paths:
    M libcxx/include/array

  Log Message:
  -----------
  [libc++] fix `array<T, 0>` under `USE_WRAP_ITER` (#101156)

`array<T, 0>::iterator` was always a pointer even when
`_LIBCXX_ABI_USE_WRAP_ITER_IN_STD_ARRAY` was defined. This patch fixes
that minor bug.

Discovered as part of [#100603][].

Drive-by: switch from `typedef` to `using` in `<array>`

[#100603]: https://github.com/llvm/llvm-project/pull/100603



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