public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Implementing p0515 - spaceship operator
@ 2018-01-08 21:07 Tim van Deurzen
  2018-01-08 22:08 ` Jason Merrill
  2018-01-09 16:10 ` Martin Sebor
  0 siblings, 2 replies; 30+ messages in thread
From: Tim van Deurzen @ 2018-01-08 21:07 UTC (permalink / raw)
  To: gcc

Hi,

I've been spending some time the past few weeks implementing p0515r2,
i.e. the proposal for consistent comparisons for C++ (aka the spaceship
operator). I've received some very valuable help on the IRC channel, but
I'm still a little bit stuck. Note, I'm completely new to the GCC
codebase and am very much still getting oriented.

Following advice from some of the people in IRC channel I implemented
parsing the new token in libcpp and I seem to be successfully parsing it
and creating a new AST node. As this feature is not in the C++ standard
yet, I wanted to add a command line flag to enable usage of the new
operator and ignoring it otherwise. I managed to get cc1plus to accept
the parameter, but it seems that when I invoke my own g++ binary with
that parameter, it complains about unknown parameters.

I'm perfectly happy to dig further on my own, but I get the feeling I'm
missing some documentation / resource somewhere that might help me out.
Is there some documentation about adding and passing around parameters
that will be used both in libcpp and the C++ front-end? What would be
the best place to look to learn more about how part of GCC this is
structured? I want to make sure I go about this correctly.


If this is the wrong place to ask for help, please redirect me, so that
I don't unnecessarily spam the wrong mailing list :-).


Kind regards,

Tim.



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

end of thread, other threads:[~2018-11-05 23:13 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-08 21:07 Implementing p0515 - spaceship operator Tim van Deurzen
2018-01-08 22:08 ` Jason Merrill
2018-01-08 22:13   ` Jonathan Wakely
2018-01-08 22:29     ` Jason Merrill
2018-01-09 22:56       ` Tim van Deurzen
2018-01-10 13:00         ` Jonathan Wakely
2018-01-10 21:24           ` Tim van Deurzen
2018-01-10 21:32             ` Jakub Jelinek
2018-01-10 21:38               ` Tim van Deurzen
2018-01-11 10:06           ` David Brown
2018-01-11 10:13             ` Jonathan Wakely
2018-01-11 10:15               ` Jonathan Wakely
2018-01-11 11:29               ` David Brown
2018-01-11 11:32                 ` Jonathan Wakely
2018-01-11 11:32                   ` Jonathan Wakely
2018-01-11 11:42                   ` David Brown
2018-01-11 14:06             ` Joseph Myers
2018-08-30 18:07               ` Jakub Jelinek
2018-08-30 18:16                 ` Marek Polacek
2018-09-03 21:04                   ` Tim van Deurzen
2018-09-26 15:01                     ` Jason Merrill
2018-09-27 20:58                       ` Nathan Sidwell
2018-11-05  1:23                       ` Jason Merrill
2018-11-05  7:36                         ` Jason Merrill
2018-11-05  7:40                         ` Tim van Deurzen
2018-11-05  8:07                           ` Jakub Jelinek
2018-11-05 16:03                             ` Tim van Deurzen
2018-11-06 12:35                           ` Jason Merrill
2018-01-09 18:01   ` Nathan Sidwell
2018-01-09 16:10 ` Martin Sebor

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).