Damien L-G
9965f3d337
[libc++] Improve diagnostic when violating std::atomic trivially copyable mandates ( #131754 )
...
When attempting to instantiate `std::atomic` with a non trivially
copyable type, one gets errors from instantiating internals before the
actual static assertion that check the template parameter type
requirements.
The `verify` test for it had a `// ADDITIONAL_COMPILE_FLAGS: -Xclang
-verify-ignore-unexpected=error` directive to work around this issue.
The changes I propose enable us to drop that directive.
As I understand it, the `verify` test was misplaced so I moved it to
`test/{std -> libcxx}/atomics`.
(I ran into this while working on #121414 in which we would add another
static assertion in `__check_atomic_mandates`)
2025-04-07 15:25:45 -04:00
..
2025-04-05 13:46:11 +02:00
2025-04-07 15:25:45 -04:00
2025-03-19 11:36:29 -04:00
2025-03-18 02:05:51 +01:00
2025-03-21 18:01:36 +01:00
2025-03-23 21:01:25 +01:00
2025-03-06 10:22:18 +01:00
2025-02-21 07:59:46 -05:00
2025-04-04 14:56:26 -04:00
2024-10-31 02:20:10 +01:00
2025-03-27 11:34:38 +01:00
2025-01-28 12:35:33 +01:00
2024-10-12 09:49:52 +02:00
2025-03-27 11:34:38 +01:00
2025-01-08 11:12:59 -05:00
2025-03-27 15:14:17 +01:00
2025-03-25 15:58:24 +01:00
2025-04-06 10:50:55 +01:00
2025-03-18 02:05:51 +01:00
2025-03-27 13:19:59 +01:00
2025-03-27 11:34:38 +01:00
2023-12-18 14:01:33 -05:00
2025-03-29 10:07:31 +01:00
2025-04-04 11:48:46 -04:00
2025-03-24 07:30:45 +01:00
2025-03-23 21:01:25 +01:00
2025-03-28 10:27:00 +01:00
2025-02-21 07:59:46 -05:00
2025-03-18 18:06:24 +01:00
2025-03-27 11:34:38 +01:00
2025-04-05 13:46:11 +02:00
2025-02-27 17:47:34 +01:00
2025-02-10 21:19:46 +01:00
2025-02-21 07:59:46 -05:00
2025-03-29 10:07:31 +01:00
2025-02-27 17:47:34 +01:00
2025-03-27 13:19:59 +01:00
2025-01-10 15:21:58 -05:00
2025-03-31 20:46:04 +02:00
2025-02-27 17:47:34 +01:00
2025-03-26 07:38:02 +08:00
2025-03-29 10:07:31 +01:00
2025-03-23 21:01:25 +01:00
2025-02-19 21:31:56 +08:00
2025-04-02 11:14:14 -04:00
2025-03-23 21:01:25 +01:00
2024-12-21 13:01:48 +01:00
2024-09-17 11:22:27 -04:00
2025-03-26 12:02:03 -04:00
2025-04-02 22:12:59 +02:00
2024-11-06 10:39:19 +01:00
2025-01-30 21:10:56 +01:00
2025-04-04 11:48:46 -04:00
2025-02-18 12:12:23 +01:00
2025-01-08 11:12:59 -05:00
2025-02-27 17:47:34 +01:00
2023-05-01 13:48:20 -05:00
2025-03-28 20:50:23 +01:00
2023-07-06 17:21:08 +00:00
2024-10-23 17:07:15 -04:00
2025-04-05 13:46:11 +02:00
2025-03-27 11:34:38 +01:00
2025-03-23 21:01:25 +01:00
2025-01-17 14:22:40 -05:00
2025-01-14 12:10:57 -05:00
2024-12-21 13:01:48 +01:00
2025-03-26 12:02:03 -04:00
2024-12-21 13:01:48 +01:00
2025-01-08 11:12:59 -05:00
2024-12-21 13:01:48 +01:00
2024-12-21 13:01:48 +01:00
2024-12-21 13:01:48 +01:00
2024-12-21 13:01:48 +01:00
2024-12-21 13:01:48 +01:00
2025-03-21 18:02:32 +01:00
2024-12-21 13:01:48 +01:00
2025-01-08 11:12:59 -05:00
2024-12-21 13:01:48 +01:00
2024-12-21 13:01:48 +01:00
2025-04-06 10:50:55 +01:00
2024-12-21 13:01:48 +01:00
2025-02-28 15:41:44 -05:00
2024-12-21 13:01:48 +01:00
2025-03-23 21:01:25 +01:00
2024-12-21 13:01:48 +01:00
2024-12-21 13:01:48 +01:00
2024-12-21 13:01:48 +01:00
2024-12-21 13:01:48 +01:00
2024-12-21 13:01:48 +01:00
2024-12-21 13:01:48 +01:00
2025-01-08 11:12:59 -05:00
2024-12-21 13:01:48 +01:00
2025-01-08 11:12:59 -05:00
2024-12-21 13:01:48 +01:00
2024-12-21 13:01:48 +01:00
2024-12-21 13:01:48 +01:00
2024-12-21 13:01:48 +01:00
2024-12-21 13:01:48 +01:00
2025-01-08 11:12:59 -05:00
2024-12-21 13:01:48 +01:00
2024-12-21 13:01:48 +01:00
2024-12-21 13:01:48 +01:00
2025-02-27 17:47:34 +01:00
2024-12-21 13:01:48 +01:00
2025-03-25 15:58:24 +01:00
2024-12-21 13:01:48 +01:00
2024-12-21 13:01:48 +01:00
2025-01-24 09:34:42 +01:00
2024-12-21 13:01:48 +01:00
2024-12-21 13:01:48 +01:00
2024-12-21 13:01:48 +01:00
2025-01-25 18:30:00 +00:00
2025-04-06 10:50:55 +01:00
2024-12-21 13:01:48 +01:00
2024-12-21 13:01:48 +01:00
2025-03-06 16:09:30 +01:00
2025-04-04 11:48:46 -04:00
2025-01-10 14:14:14 -05:00
2025-03-10 15:13:41 +01:00
2025-03-01 12:34:35 +01:00
2024-12-21 13:01:48 +01:00
2024-12-21 13:01:48 +01:00
2025-01-08 11:12:59 -05:00
2025-01-24 09:34:42 +01:00
2024-12-21 13:01:48 +01:00
2024-12-21 13:01:48 +01:00
2025-03-01 12:29:21 +01:00
2024-12-21 13:01:48 +01:00
2024-12-21 13:01:48 +01:00
2025-03-06 16:09:30 +01:00
2025-03-18 18:08:40 +01:00
2025-03-20 18:00:01 +01:00
2024-12-21 13:01:48 +01:00
2024-12-21 13:01:48 +01:00
2025-02-10 21:19:46 +01:00
2024-12-21 13:01:48 +01:00
2025-04-06 10:50:55 +01:00
2024-12-21 13:01:48 +01:00
2024-12-21 13:01:48 +01:00
2024-12-21 13:01:48 +01:00
2025-04-05 13:46:11 +02:00
2025-02-21 07:59:46 -05:00
2024-12-21 13:01:48 +01:00
2024-12-21 13:01:48 +01:00
2024-12-21 13:01:48 +01:00
2024-12-21 13:01:48 +01:00
2024-12-21 13:01:48 +01:00
2025-01-08 11:12:59 -05:00
2025-04-04 11:48:46 -04:00
2024-12-21 13:01:48 +01:00
2024-12-21 13:01:48 +01:00
2025-03-20 18:00:01 +01:00
2025-02-21 07:59:46 -05:00
2025-01-08 11:12:59 -05:00
2024-12-21 13:01:48 +01:00
2024-12-21 13:01:48 +01:00
2024-12-21 13:01:48 +01:00
2025-01-17 14:22:40 -05:00
2024-12-21 13:01:48 +01:00
2024-12-21 13:01:48 +01:00
2024-12-21 13:01:48 +01:00
2024-12-23 07:33:26 -08:00
2024-12-23 07:33:26 -08:00
2024-12-21 13:01:48 +01:00
2025-01-23 11:01:58 +01:00
2025-03-15 22:10:57 -04:00
2025-02-21 07:59:46 -05:00
2024-12-21 13:01:48 +01:00
2025-04-04 11:48:46 -04:00
2025-01-24 09:34:42 +01:00
2024-12-21 13:01:48 +01:00
2024-12-21 13:01:48 +01:00
2024-12-21 13:01:48 +01:00
2025-03-23 21:01:25 +01:00
2025-03-09 11:17:24 +08:00
2024-12-21 13:01:48 +01:00
2025-03-27 11:34:38 +01:00
2024-12-21 13:01:48 +01:00
2025-02-21 07:59:46 -05:00
2025-01-20 18:00:15 +01:00
2025-03-25 18:31:57 +01:00
2024-12-24 18:22:18 -08:00
2025-03-27 11:34:38 +01:00
2024-12-21 13:01:48 +01:00
2025-04-06 10:50:55 +01:00
2024-12-23 07:33:26 -08:00
2024-12-21 13:01:48 +01:00