[all-commits] [llvm/llvm-project] 1122cb: [libc++] add basic runtime assertions to <barrier>

Edo via All-commits all-commits at lists.llvm.org
Sat Jul 15 03:50:42 PDT 2023


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

  Changed paths:
    M libcxx/include/barrier
    A libcxx/test/libcxx/thread/thread.barrier/assert.arrive.pass.cpp
    A libcxx/test/libcxx/thread/thread.barrier/assert.ctor.pass.cpp

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

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

Reviewed By: #libc, ldionne

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




More information about the All-commits mailing list