[all-commits] [llvm/llvm-project] f23f29: [libcxx] [test] Fix experimental/memory.resource.a...

Martin Storsjö via All-commits all-commits at lists.llvm.org
Fri Jul 16 13:03:05 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f23f299c046ca017a7cddc6fc290f26f9fe09064
      https://github.com/llvm/llvm-project/commit/f23f299c046ca017a7cddc6fc290f26f9fe09064
  Author: Martin Storsjö <martin at martin.st>
  Date:   2021-07-16 (Fri, 16 Jul 2021)

  Changed paths:
    M libcxx/test/libcxx/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.mem/db_deallocate.pass.cpp

  Log Message:
  -----------
  [libcxx] [test] Fix experimental/memory.resource.adaptor.mem/db_deallocate on Windows

The checks within the libc++experimental memory_resource class uses this
limit:

     _MaxAlign = _LIBCPP_ALIGNOF(max_align_t);

Therefore, only use max_align_t for this limit instead of using
`__STDCPP_DEFAULT_NEW_ALIGNMENT__` if available.

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




More information about the All-commits mailing list