]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdbsupport: remove gdb::optional
authorLancelot Six <lancelot.six@amd.com>
Fri, 13 Oct 2023 09:55:19 +0000 (09:55 +0000)
committerLancelot Six <lancelot.six@amd.com>
Tue, 21 Nov 2023 11:52:35 +0000 (11:52 +0000)
commit42742fc5817a8f2e47c711880501073a9ad86cfc
treea8a3ceb7ef74871b4226955eff34fc9585ba54c3
parent6b09f1342cf2d8e2b13a0d634acc3bcf2852a73b
gdbsupport: remove gdb::optional

The previous patch migrated all the uses of gdb::optional to use
std::optional instead,  so gdb::optional can be removed entirely
as well as the self-tests which came with it.

Change-Id: I96ecd67b850b01be10ef00eb85a78ac647d5adc7
Approved-By: Tom Tromey <tom@tromey.com>
Approved-By: Pedro Alves <pedro@palves.net>
17 files changed:
gdb/Makefile.in
gdb/unittests/optional-selftests.c [deleted file]
gdb/unittests/optional/assignment/1.cc [deleted file]
gdb/unittests/optional/assignment/2.cc [deleted file]
gdb/unittests/optional/assignment/3.cc [deleted file]
gdb/unittests/optional/assignment/4.cc [deleted file]
gdb/unittests/optional/assignment/5.cc [deleted file]
gdb/unittests/optional/assignment/6.cc [deleted file]
gdb/unittests/optional/assignment/7.cc [deleted file]
gdb/unittests/optional/cons/copy.cc [deleted file]
gdb/unittests/optional/cons/default.cc [deleted file]
gdb/unittests/optional/cons/move.cc [deleted file]
gdb/unittests/optional/cons/value.cc [deleted file]
gdb/unittests/optional/in_place.cc [deleted file]
gdb/unittests/optional/observers/1.cc [deleted file]
gdb/unittests/optional/observers/2.cc [deleted file]
gdbsupport/gdb_optional.h [deleted file]