diff options
author | Arthur O'Dwyer <arthur.j.odwyer@gmail.com> | 2021-09-16 23:14:57 -0400 |
---|---|---|
committer | Arthur O'Dwyer <arthur.j.odwyer@gmail.com> | 2021-09-21 16:19:31 -0400 |
commit | c9af0e61fa85842ce280ddab8ab491de38a7ae5b (patch) | |
tree | 08c4e0cd884b0f10804d61d6fe7b0e9981ead930 /clang/test/OpenMP/parallel_codegen.cpp | |
parent | 2f6b07316f560a1f6d225919019dff2e5d6346e5 (diff) | |
download | llvm-c9af0e61fa85842ce280ddab8ab491de38a7ae5b.zip llvm-c9af0e61fa85842ce280ddab8ab491de38a7ae5b.tar.gz llvm-c9af0e61fa85842ce280ddab8ab491de38a7ae5b.tar.bz2 |
[libc++] counting_semaphore should not be default-constructible.
Neither the current C++2b draft, nor any revision of [p1135],
nor libstdc++, claims that `counting_semaphore` should be
default-constructible. I think this was just a copy-paste issue
somehow.
Also, `explicit` was missing from the constructor.
Also, `constexpr` remains missing; but that's probably more of a
technical limitation, since apparently there are some platforms
where we don't (can't??) use the atomic implementation and
have to rely on pthreads, which obviously isn't constexpr.
Differential Revision: https://reviews.llvm.org/D110042
Diffstat (limited to 'clang/test/OpenMP/parallel_codegen.cpp')
0 files changed, 0 insertions, 0 deletions