[all-commits] [llvm/llvm-project] dd2cfa: [libc++] add test for latch ctor

Edo via All-commits all-commits at lists.llvm.org
Wed Jul 12 12:33:34 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dd2cfabddb6d3e7e7d55130349f3022deefca896
  Author: Edoardo Sanguineti <edoardo.sanguineti222 at gmail.com>
  Date:   2023-07-12 (Wed, 12 Jul 2023)

  Changed paths:
    A libcxx/test/std/thread/thread.latch/ctor.pass.cpp

  Log Message:
  [libc++] add test for latch ctor

Currently, there are no tests to confirm without a doubt the constructor of latch is really constexpr and explicit.
I think this would be an addition that it would not harm to have. In another revision, I was asked to add tests for an almost identical case which made me consider adding this test for the latch class too.

Reviewed By: #libc, philnik

Spies: philnik, libcxx-commits, kristof.beyls

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

More information about the All-commits mailing list