[all-commits] [llvm/llvm-project] 0f4d7d: [libc++][mdspan] Fix layout_left::stride(r)

Christian Trott via All-commits all-commits at lists.llvm.org
Fri Aug 4 08:40:57 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0f4d7d81c9d08512a3871596fa2a14b737233c80
      https://github.com/llvm/llvm-project/commit/0f4d7d81c9d08512a3871596fa2a14b737233c80
  Author: Christian Trott <crtrott at sandia.gov>
  Date:   2023-08-04 (Fri, 04 Aug 2023)

  Changed paths:
    M libcxx/include/__mdspan/layout_left.h
    M libcxx/test/std/containers/views/mdspan/layout_left/stride.pass.cpp

  Log Message:
  -----------
  [libc++][mdspan] Fix layout_left::stride(r)

It was using the stride calculation of layout_right.

Reviewed By: philnik

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




More information about the All-commits mailing list