[all-commits] [llvm/llvm-project] 62a9a8: [libc++][NFC] Simplify the implementation of align...

Nikolas Klauser via All-commits all-commits at lists.llvm.org
Fri Jun 26 09:28:59 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 62a9a8ce0f2f58c463206cd4f77cf60ae7ed9118
      https://github.com/llvm/llvm-project/commit/62a9a8ce0f2f58c463206cd4f77cf60ae7ed9118
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2026-06-26 (Fri, 26 Jun 2026)

  Changed paths:
    M libcxx/include/__type_traits/aligned_union.h

  Log Message:
  -----------
  [libc++][NFC] Simplify the implementation of aligned_union (#185449)

Instead of manually calculating the size and alignment of a union, we
can just generate an actual union and take the size and alignment of
that.

Co-authored-by: Louis Dionne <ldionne.2 at gmail.com>



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