[all-commits] [llvm/llvm-project] 5e807c: [libc++] add basic runtime assertions to <latch>

Edo via All-commits all-commits at lists.llvm.org
Wed Jul 5 14:35:28 PDT 2023


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

  Changed paths:
    M libcxx/include/latch
    A libcxx/test/libcxx/thread/thread.latch/assert.arrive_and_wait.pass.cpp
    A libcxx/test/libcxx/thread/thread.latch/assert.count_down.pass.cpp
    A libcxx/test/libcxx/thread/thread.latch/assert.ctor.pass.cpp

  Log Message:
  -----------
  [libc++] add basic runtime assertions to <latch>

Adding assertions will aid users that have bugs in their code to
receive better error messages.

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




More information about the All-commits mailing list