]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdbsupport: assume that compiler supports std::{is_trivially_constructible,is_trivial...
authorSimon Marchi <simon.marchi@efficios.com>
Wed, 21 Feb 2024 16:46:52 +0000 (11:46 -0500)
committerSimon Marchi <simon.marchi@polymtl.ca>
Wed, 21 Feb 2024 18:30:19 +0000 (13:30 -0500)
commit23acbfee6a82cc147b04b74a89d5b34b47c150f4
treee9c528c8ed51b58eb3b51d3427346f664c7cf674
parentaca8a74923c4a0c222a2f8f5f3e23de84ab19e77
gdbsupport: assume that compiler supports std::{is_trivially_constructible,is_trivially_copyable}

This code was there to support g++ 4, which didn't support
std::is_trivially_constructible and std::is_trivially_copyable.  Since
we now require g++ >= 9, I think it's fair to assume that GDB will
always be compiled with a compiler that supports those.

Change-Id: Ie7c1649139a2f48bf662cac92d7f3e38fb1f1ba1
gdb/trad-frame.c
gdb/unittests/array-view-selftests.c
gdb/unittests/enum-flags-selftests.c
gdb/unittests/packed-selftests.c
gdbsupport/check-defines.el
gdbsupport/packed.h
gdbsupport/poison.h
gdbsupport/traits.h