[all-commits] [llvm/llvm-project] 84169f: [libc++][NFC] Test span is nothrow trivially destr...

Joseph Loser via All-commits all-commits at lists.llvm.org
Tue Sep 7 10:49:09 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 84169fb67e94036dac70467c3d421746e8057478
      https://github.com/llvm/llvm-project/commit/84169fb67e94036dac70467c3d421746e8057478
  Author: Joe Loser <joeloser93 at gmail.com>
  Date:   2021-09-07 (Tue, 07 Sep 2021)

  Changed paths:
    A libcxx/test/std/containers/views/span.cons/span.dtor.compile.pass.cpp

  Log Message:
  -----------
  [libc++][NFC] Test span is nothrow trivially destructible

Add tests showing `span` is trivially_destructible and nothrow_destructible.
Note that we do not need to explicitly default the destructor in `span`.

Reviewed By: ldionne, Mordante, #libc

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




More information about the All-commits mailing list