[all-commits] [llvm/llvm-project] 42a024: [libc++] Add basic runtime assertions to <semaphore>

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


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

  Changed paths:
    M libcxx/include/semaphore
    A libcxx/test/libcxx/thread/thread.semaphore/assert.ctor.pass.cpp
    A libcxx/test/libcxx/thread/thread.semaphore/assert.release.pass.cpp
    A libcxx/test/std/thread/thread.semaphore/ctor.verify.cpp

  Log Message:
  -----------
  [libc++] Add basic runtime assertions to <semaphore>

Adding assertions will aid users that have bugs or logic mistakes in
their code to receive error messages when debugging.

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




More information about the All-commits mailing list