[all-commits] [llvm/llvm-project] b84cb9: [libc++][test] Use `LIBCPP_STATIC_ASSERT` for `std...

Stephan T. Lavavej via All-commits all-commits at lists.llvm.org
Sun Nov 26 17:22:28 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b84cb9c2e672a39cb94f080b67c121ff5ae74879
      https://github.com/llvm/llvm-project/commit/b84cb9c2e672a39cb94f080b67c121ff5ae74879
  Author: Stephan T. Lavavej <stl at nuwen.net>
  Date:   2023-11-26 (Sun, 26 Nov 2023)

  Changed paths:
    M libcxx/test/std/containers/views/mdspan/layout_left/static_requirements.pass.cpp
    M libcxx/test/std/containers/views/mdspan/layout_right/static_requirements.pass.cpp
    M libcxx/test/std/containers/views/mdspan/layout_stride/static_requirements.pass.cpp

  Log Message:
  -----------
  [libc++][test] Use `LIBCPP_STATIC_ASSERT` for `std::__mdspan_detail` (#73436)

Found while running libc++'s test suite against MSVC's STL.

`libcxx/test/std` should be portable, so these lines checking
`std::__mdspan_detail` machinery should be using `LIBCPP_STATIC_ASSERT`.

I checked for other occurrences and these appear to be the only ones
which have appeared since our last libc++ test suite update.




More information about the All-commits mailing list