public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/7] More C++17 Updates
@ 2023-10-16 23:02 Tom Tromey
  2023-10-16 23:02 ` [PATCH 1/7] Use C++17 [[fallthrough]] attribute Tom Tromey
                   ` (7 more replies)
  0 siblings, 8 replies; 17+ messages in thread
From: Tom Tromey @ 2023-10-16 23:02 UTC (permalink / raw)
  To: gdb-patches

This series is based on Lancelot's C++17 series.  I found some more
spots in gdb that could easily take advantage of C++17.

I'm sure there are some more spots to be found.  For example, I
suspect try_embed can be used in more places than the one that was
commented as such.

I have another branch where I try to replace gdb::array_view with a
C++20-compatible std::span.  However, this one is a bit more invasive,
so I thought I would leave it for a little later.  Note that gdb
doesn't currently build cleanly in C++20 mode (mostly but IIRC not
entirely due to the use of 'volatile' in the Guile headers).

Regression tested on x86-64 Fedora 38.

Let me know what you think.

Tom



^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2023-10-19 20:26 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-16 23:02 [PATCH 0/7] More C++17 Updates Tom Tromey
2023-10-16 23:02 ` [PATCH 1/7] Use C++17 [[fallthrough]] attribute Tom Tromey
2023-10-16 23:17   ` John Baldwin
2023-10-19 20:23     ` Tom Tromey
2023-10-17  8:53   ` Luis Machado
2023-10-19 20:23     ` Tom Tromey
2023-10-16 23:02 ` [PATCH 2/7] Switch to -Wimplicit-fallthrough=5 Tom Tromey
2023-10-16 23:02 ` [PATCH 3/7] Enable some C++14 code in array-view.h Tom Tromey
2023-10-16 23:02 ` [PATCH 4/7] Use try_emplace in index-write.c Tom Tromey
2023-10-17  8:56   ` Pedro Alves
2023-10-17  9:30     ` Lancelot SIX
2023-10-19 20:24     ` Tom Tromey
2023-10-16 23:02 ` [PATCH 5/7] Rely on C++17 <new> in new-op.cc Tom Tromey
2023-10-16 23:02 ` [PATCH 6/7] Rely on copy elision in scope-exit.h Tom Tromey
2023-10-16 23:02 ` [PATCH 7/7] Use C++17 void_t Tom Tromey
2023-10-17  9:06 ` [PATCH 0/7] More C++17 Updates Pedro Alves
2023-10-19 20:26   ` Tom Tromey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).