[all-commits] [llvm/llvm-project] 8e9241: [libc++][docs] Mark LWG3274 as complete

Joseph Loser via All-commits all-commits at lists.llvm.org
Tue Oct 12 19:33:05 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8e92410ecc86f3ad29e038bf1abad7aa3fc20e7b
      https://github.com/llvm/llvm-project/commit/8e92410ecc86f3ad29e038bf1abad7aa3fc20e7b
  Author: Joe Loser <joeloser93 at gmail.com>
  Date:   2021-10-12 (Tue, 12 Oct 2021)

  Changed paths:
    M libcxx/docs/Status/Cxx20Issues.csv
    M libcxx/include/span
    A libcxx/test/std/containers/views/span.obs/empty.nodiscard.verify.cpp
    M libcxx/test/std/containers/views/span.obs/empty.pass.cpp

  Log Message:
  -----------
  [libc++][docs] Mark LWG3274 as complete

Mark LWG3274 as complete. The feature test macro `__cpp_lib_span` was added in
`6d2599e4f776d0cd88438cb82a00c4fc25cc3f67`.

https://wg21.link/p1024 mentions marking `span:::empty()` with
`[[nodiscard]]` which is not done yet. So, do that and add tests.

Reviewed By: ldionne, Quuxplusone, Mordante, #libc

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




More information about the All-commits mailing list