[all-commits] [llvm/llvm-project] d278fa: [libc++] Fix constant initialization of unique_ptr...

Nikolas Klauser via All-commits all-commits at lists.llvm.org
Wed Oct 2 08:09:29 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d278fa5e1a65cb0583fd4ca7814da6b238c66e9f
      https://github.com/llvm/llvm-project/commit/d278fa5e1a65cb0583fd4ca7814da6b238c66e9f
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2024-10-02 (Wed, 02 Oct 2024)

  Changed paths:
    M libcxx/include/__memory/compressed_pair.h
    M libcxx/test/std/utilities/any/any.class/any.cons/default.pass.cpp
    M libcxx/test/support/test_macros.h

  Log Message:
  -----------
  [libc++] Fix constant initialization of unique_ptr in C++17 and prior (#108956)

This is already tested in
`std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.ctor/default.pass.cpp`
except that `TEST_CONSTINIT` doesn't do anything before C++20 without
this patch.



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