llvm-capstone/libcxx/test
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
..
configs [libc++][modules] Adds the C++23 std module. 2023-06-15 18:14:15 +02:00
libcxx [libc++] Stop running backdeployment CI on macOS 10.9 2023-07-12 14:04:05 -04:00
std [libc++] mark barrier constructor as explicit in <barrier> 2023-07-12 12:31:16 -07:00
support [libc++][hardening][NFC] Add macros to enable hardened mode. 2023-07-12 10:12:58 -07:00
tools [libc++][modules] Avoids duplicated exports. 2023-07-08 13:19:43 +02:00
.clang-format [libc++] Improves clang-format settings. 2023-02-27 19:24:06 +01:00
.clang-tidy [libc++] Add clang-tidy for the tests 2022-07-20 11:26:49 +02:00
CMakeLists.txt [libc++][hardening][NFC] Add macros to enable hardened mode. 2023-07-12 10:12:58 -07:00
lit.cfg.py [NFC][Py Reformat] Reformat python files in libcxx/libcxxabi 2023-05-25 11:15:34 +02:00