[all-commits] [llvm/llvm-project] 8ab82a: [libc++] Add a test case for std::bit_cast with st...

Louis Dionne via All-commits all-commits at lists.llvm.org
Mon Jul 8 13:19:49 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8ab82a2dc308c27fbdd0a87b5be7dddc623f1b0e
      https://github.com/llvm/llvm-project/commit/8ab82a2dc308c27fbdd0a87b5be7dddc623f1b0e
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    A libcxx/test/std/numerics/complex.number/complex/bit_cast.pass.cpp

  Log Message:
  -----------
  [libc++] Add a test case for std::bit_cast with std::complex (#97751)

This is extracted from #94620. While libc++ doesn't have the problem
described in that issue, a test case is a good idea to ensure that we
don't regress this behavior in the future. This could happen for example
if we decide to use `_Complex` in the implementation of `std::complex`
while Clang doesn't handle bit_cast with _Complex yet.



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