Files
mesa/src/util
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-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-17 13:41:47 +00:00
2021-11-17 13:41:47 +00:00
2022-06-02 13:09:16 +00:00
2021-08-14 21:44:32 +00:00
2022-08-17 21:17:17 +00:00
2022-08-02 00:59:48 +00:00
2022-08-26 21:47:44 +00:00
2021-10-20 21:40:31 -07:00
2022-06-02 13:09:16 +00:00
2022-03-09 08:48:59 +00:00
2022-03-09 08:48:59 +00:00
2022-07-10 00:50:35 +00:00
2022-08-04 23:53:49 +00:00
2022-08-04 23:53:49 +00:00
2022-05-17 21:02:24 +00:00
2021-08-14 21:44:32 +00:00