Thomas H.P. Andersen
1980827aeb
util: avoid deprecated builtin has_trivial_destructor
...
From clang 16 has_trivial_destructor is deprecated.
Use the replacement __is_trivially_destructible if it
is available.
Fixes new warnings with clang 16 like:
../src/compiler/glsl/list.h:58:4: warning: builtin __has_trivial_destructor is deprecated; use __is_trivially_destructible instead [-Wdeprecated-builtins]
../src/util/ralloc.h:551:4: note: expanded from macro 'DECLARE_RZALLOC_CXX_OPERATORS'
DECLARE_ALLOC_CXX_OPERATORS_TEMPLATE(type, rzalloc_size)
^
../src/util/ralloc.h:542:12: note: expanded from macro 'DECLARE_ALLOC_CXX_OPERATORS_TEMPLATE'
if (!HAS_TRIVIAL_DESTRUCTOR(TYPE)) \
^
../src/util/macros.h:233:44: note: expanded from macro 'HAS_TRIVIAL_DESTRUCTOR'
Reviewed-by: Eric Engestrom <eric@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18423 >
2022-09-08 10:53:32 +00:00
..
2022-09-06 12:55:02 +00:00
2022-06-02 13:09:15 +00:00
2022-09-06 09:29:52 +00:00
2022-03-21 17:57:15 +00:00
2022-08-23 15:19:16 +00:00
2022-08-30 04:57:43 +00:00
2022-08-12 16:34:32 +00:00
2022-08-12 16:34:32 +00:00
2022-08-30 04:28:34 +00:00
2022-06-02 13:09:16 +00:00
2022-07-19 19:19:33 +00:00
2022-07-07 12:25:05 +00:00
2022-04-22 19:38:52 +00:00
2021-11-16 10:02:08 -06:00
2022-06-02 13:09:16 +00:00
2022-03-21 17:57:15 +00:00
2022-03-21 17:57:15 +00:00
2021-11-17 13:41:47 +00:00
2021-11-17 13:41:47 +00:00
2022-05-26 07:14:45 +00:00
2022-05-26 07:14:45 +00:00
2022-08-12 18:06:36 +00:00
2022-08-04 17:52:49 +00:00
2022-08-04 17:52:49 +00:00
2022-08-04 17:52:49 +00:00
2022-01-14 22:09:50 +00:00
2022-08-09 14:38:06 +00:00
2021-05-14 11:00:52 +00:00
2022-07-06 11:23:18 +00:00
2022-06-02 13:09:16 +00:00
2022-06-02 13:09:16 +00:00
2021-08-14 21:44:32 +00:00
2022-01-24 01:09:21 +00:00
2021-08-08 13:34:42 +02:00
2022-08-17 21:17:17 +00:00
2022-05-02 23:36:50 +00:00
2021-11-02 11:02:18 -07:00
2022-06-02 13:09:16 +00:00
2022-08-02 00:59:48 +00:00
2022-07-28 10:10:44 +00:00
2022-04-05 21:37:46 +00:00
2022-08-26 21:47:44 +00:00
2022-09-08 10:53:32 +00:00
2022-08-09 17:23:17 +00:00
2022-01-19 21:54:58 +00:00
2022-08-04 17:52:49 +00:00
2022-08-04 17:52:49 +00:00
2021-11-26 11:58:27 +00:00
2022-06-02 13:09:16 +00:00
2022-08-31 15:40:20 +00:00
2021-06-28 21:12:24 +03:00
2022-04-21 14:43:39 +00:00
2022-03-21 17:57:15 +00:00
2022-03-21 17:57:15 +00:00
2022-03-21 17:57:15 +00:00
2022-03-21 17:57:15 +00:00
2022-03-21 17:57:15 +00:00
2022-08-12 15:05:47 +00:00
2022-04-21 14:43:39 +00:00
2022-03-21 17:57:15 +00:00
2022-03-21 17:57:15 +00:00
2022-06-02 13:09:16 +00:00
2022-08-30 18:21:44 +00:00
2022-08-30 18:21:44 +00:00
2021-10-20 21:40:31 -07:00
2022-07-29 06:47:28 +10:00
2021-12-14 09:19:01 +00:00
2021-12-19 13:10:26 -08:00
2021-06-04 19:08:57 +00:00
2022-03-21 17:57:15 +00:00
2022-06-02 13:09:16 +00:00
2022-04-22 19:38:52 +00:00
2022-08-31 15:40:20 +00:00
2022-08-31 15:40:20 +00:00
2022-03-09 08:48:59 +00:00
2022-03-09 08:48:59 +00:00
2022-05-02 23:36:50 +00:00
2022-06-14 15:08:37 +00:00
2022-06-07 03:33:20 +00:00
2022-06-07 03:33:20 +00:00
2022-03-21 17:57:15 +00:00
2022-06-09 17:23:34 +00:00
2022-02-28 14:28:23 +00:00
2022-08-30 17:27:48 +00:00
2022-08-31 15:40:20 +00:00
2022-08-31 15:40:20 +00:00
2022-09-02 01:51:42 +00:00
2022-09-02 01:51:42 +00:00
2021-10-01 14:51:23 +00:00
2021-10-01 14:51:23 +00:00
2022-07-28 10:10:44 +00:00
2022-05-02 16:58:20 +00:00
2021-10-01 14:51:23 +00:00
2022-06-10 06:56:04 +00:00
2022-04-21 14:43:39 +00:00
2022-05-02 16:58:20 +00:00
2022-04-21 14:43:39 +00:00
2022-07-10 00:50:35 +00:00
2022-09-05 13:34:17 +00:00
2022-07-01 21:15:07 +00:00
2022-07-01 21:15:07 +00:00
2022-01-10 22:53:32 +00:00
2022-03-21 17:57:15 +00:00
2021-09-10 14:58:28 +03:00
2021-10-01 14:51:23 +00:00
2021-10-01 14:51:23 +00:00
2021-07-09 10:05:46 +00:00
2021-07-09 10:05:46 +00:00
2022-03-21 17:57:15 +00:00
2022-07-06 11:23:18 +00:00
2022-03-21 17:57:15 +00:00
2022-03-21 17:57:15 +00:00
2022-03-21 17:57:15 +00:00
2022-07-01 21:15:07 +00:00
2022-08-04 23:53:49 +00:00
2022-08-04 23:53:49 +00:00
2022-08-12 15:05:47 +00:00
2022-01-14 20:17:44 +00:00
2022-03-21 17:57:15 +00:00
2021-06-24 20:05:12 +00:00
2022-08-22 20:22:50 +00:00
2021-10-05 23:46:14 +00:00
2022-08-12 15:05:47 +00:00
2021-10-08 00:15:11 +00:00
2022-03-21 17:57:15 +00:00
2022-04-25 23:50:57 +00:00
2022-04-25 23:50:57 +00:00
2021-11-15 21:57:28 +00:00
2022-05-17 21:02:24 +00:00
2022-08-12 06:06:48 +00:00
2022-03-21 17:57:15 +00:00
2021-08-14 21:44:32 +00:00