[all-commits] [llvm/llvm-project] bf4eae: [llvm] Replace deprecated aligned_storage with ali...

Marc Auberer via All-commits all-commits at lists.llvm.org
Mon Jun 3 02:55:59 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bf4eaec44054fa3908d50898f572e15d89119c67
      https://github.com/llvm/llvm-project/commit/bf4eaec44054fa3908d50898f572e15d89119c67
  Author: Marc Auberer <marc.auberer at chillibits.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M llvm/include/llvm/ADT/FunctionExtras.h
    M llvm/lib/Support/PrettyStackTrace.cpp

  Log Message:
  -----------
  [llvm] Replace deprecated aligned_storage with aligned byte array (#94169)

`std::aligned_storage` is deprecated with C++23, see
[here](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p1413r3.pdf).

This replaces the usages of `std::aligned_storage` within llvm (only one
in ADT and one in Support) with an aligned `std::byte` array.
I will provide patches for other subcomponents as well.



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