llvm-capstone/libcxx
Edoardo Sanguineti c77af00eb9 [libc++] mark barrier constructor as explicit in <barrier>
If I read the standard correctly, the public constructor of "barrier" should be marked as "constexpr explicit".
I see some of the internal classes used by the barrier header are correctly marked but I think, if I'm not mistaken, the standard would like the public class to have the correct definition as well.

Because the implementation that llvm uses by default is not constexpr friendly at this time, this revision will focus on only marking it as explicit.

Reviewed By: #libc, philnik, Mordante

Spies: philnik, Mordante, libcxx-commits

Differential Revision: https://reviews.llvm.org/D154590
2023-07-12 12:31:16 -07:00
..
benchmarks Use hash value checks optimizations consistently 2023-07-04 21:01:08 +02:00
cmake [libc++][hardening][NFC] Add macros to enable hardened mode. 2023-07-12 10:12:58 -07:00
docs [libc++][hardening][NFC] Add macros to enable hardened mode. 2023-07-12 10:12:58 -07:00
include [libc++] mark barrier constructor as explicit in <barrier> 2023-07-12 12:31:16 -07:00
lib [libc++] Remove symbols for a std::allocator_arg & friends from the dylib 2023-04-19 17:27:14 -04:00
modules [libc++][format] Adds a UTF transcoder. 2023-07-11 20:28:19 +02:00
src [libc++] Move __thread_id out of <__threading_support> 2023-07-11 08:58:27 -04:00
test [libc++] mark barrier constructor as explicit in <barrier> 2023-07-12 12:31:16 -07:00
utils [libc++] Stop running backdeployment CI on macOS 10.9 2023-07-12 14:04:05 -04:00
.clang-format [libc++] Fix thread annotations on shared_mutex and shared_timed_mutex 2023-07-06 08:37:10 -04:00
.clang-tidy [libc++] Enable radability-identifier-naming for local variables and fix any problems 2023-02-11 20:03:53 +01:00
.gitignore
appveyor-reqs-install.cmd
appveyor.yml [libc++] Re-apply "Always build c++experimental.a"" 2022-07-19 10:44:19 -04:00
CMakeLists.txt [libc++][hardening][NFC] Remove the LIBCXX_DEBUG_BUILD CMake variable. 2023-07-12 10:16:00 -07:00
CREDITS.TXT [libcxx] Add mdspan/extents 2023-05-16 14:30:36 -07:00
LICENSE.TXT
TODO.TXT