[all-commits] [llvm/llvm-project] f1025e: [Support] Replace deprecated std::aligned_union, N...

Jonas Hahnfeld via All-commits all-commits at lists.llvm.org
Tue Feb 25 12:00:36 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f1025e671ef1c1d6a65944cdb3989608cfbc7f0c
      https://github.com/llvm/llvm-project/commit/f1025e671ef1c1d6a65944cdb3989608cfbc7f0c
  Author: Jonas Hahnfeld <hahnjo at hahnjo.de>
  Date:   2025-02-25 (Tue, 25 Feb 2025)

  Changed paths:
    M llvm/include/llvm/Support/AlignOf.h

  Log Message:
  -----------
  [Support] Replace deprecated std::aligned_union, NFCI. (#127417)

All std::aligned_* are deprecated in C++23. Implement the replacement
suggested in P1413R3 using alignas and std::max.



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