[all-commits] [llvm/llvm-project] 8f0b2a: [libc++] Use _LIBCPP_NO_UNIQUE_ADDRESS for base in...

Joseph Loser via All-commits all-commits at lists.llvm.org
Fri Feb 11 15:39:58 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8f0b2ac140c36f37597deef66bea8a7739c18a7b
      https://github.com/llvm/llvm-project/commit/8f0b2ac140c36f37597deef66bea8a7739c18a7b
  Author: Joe Loser <joeloser93 at gmail.com>
  Date:   2022-02-11 (Fri, 11 Feb 2022)

  Changed paths:
    M libcxx/include/__ranges/join_view.h

  Log Message:
  -----------
  [libc++] Use _LIBCPP_NO_UNIQUE_ADDRESS for base in join_view

Despite the comment saying `[[no_unique_address]]` on the `__base_` data member
makes clang crash, this does not seem to be true on CI. So, mark `__base_` with
`_LIBCPP_NO_UNIQUE_ADDRESS`.

Differential Revision: https://reviews.llvm.org/D119208




More information about the All-commits mailing list