public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH 00/10] C++11-based improvements for libcc1
@ 2021-01-03 18:26 Tom Tromey
  2021-01-03 18:26 ` [PATCH 01/10] libcc1: use templates to unmarshall enums Tom Tromey
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: Tom Tromey @ 2021-01-03 18:26 UTC (permalink / raw)
  To: gcc-patches

This short series uses C++11 features to simplify libcc1.  This brings
the code closer to how I pictured it when I first wrote it.  (It would
be further improved by std::apply, but this isn't available until
C++17.)

I built and tested this against git GDB on x86-64 Fedora 32.

Note that the C++ plugin currently does not for git GCC -- it crashes.
This series doesn't make it worse (it may slightly change the reported
failures), but nor does it improve it.

There's some more simplification that could be done; for example the
two plugins currently have copies of code that ought to be shared.
However, I haven't done this.

Tom



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

end of thread, other threads:[~2021-01-03 23:43 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-03 18:26 [PATCH 00/10] C++11-based improvements for libcc1 Tom Tromey
2021-01-03 18:26 ` [PATCH 01/10] libcc1: use templates to unmarshall enums Tom Tromey
2021-01-03 18:26 ` [PATCH 02/10] libcc1: use "override" Tom Tromey
2021-01-03 18:26 ` [PATCH 03/10] libcc1: inline some simple methods Tom Tromey
2021-01-03 18:26 ` [PATCH 04/10] libcc1: delete copy constructor and assignment operators Tom Tromey
2021-01-03 18:26 ` [PATCH 05/10] libcc1: use variadic templates for "call" Tom Tromey
2021-01-03 18:26 ` [PATCH 06/10] libcc1: use variadic templates for "rpc" Tom Tromey
2021-01-03 18:26 ` [PATCH 07/10] libcc1: use std::vector when building function types Tom Tromey
2021-01-03 18:26 ` [PATCH 08/10] libcc1: add deleter objects Tom Tromey
2021-01-03 18:26 ` [PATCH 09/10] libcc1: add more uses of 'deleter' Tom Tromey
2021-01-03 18:26 ` [PATCH 10/10] libcc1: use unique_ptr more Tom Tromey
2021-01-03 23:43 ` [PATCH 00/10] C++11-based improvements for libcc1 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).