[all-commits] [llvm/llvm-project] 508b45: [libc++] Addresses LWG3358

Mark de Wever via All-commits all-commits at lists.llvm.org
Tue Mar 7 10:36:51 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 508b4510de123c4cccc9440546da1f71a23cbb83
      https://github.com/llvm/llvm-project/commit/508b4510de123c4cccc9440546da1f71a23cbb83
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2023-03-07 (Tue, 07 Mar 2023)

  Changed paths:
    M libcxx/docs/Status/Cxx20Issues.csv
    M libcxx/include/span
    M libcxx/test/std/containers/views/views.span/span.cons/iterator_sentinel.pass.cpp

  Log Message:
  -----------
  [libc++] Addresses LWG3358

  LWG3358 ยง[span.cons] is mistaken that to_address can throw

Since last - first has to throw tests are added to make sure this always
happens.

Depends on D142808

Reviewed By: #libc, ldionne

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




More information about the All-commits mailing list