Parsing of spaceship operator (work in progress)
Jason Merrill
jason@redhat.com
Mon Nov 5 23:10:00 GMT 2018
On Mon, Nov 5, 2018 at 2:39 PM Tim van Deurzen <tim@kompiler.org> wrote:
> I've been getting to know my way around the c++ compiler front-end while
> implementing the spaceship operator. To ensure this feature is part of
> the next release I'm including my work so far as a patch. Testing and
> development are still very much ongoing.
Thanks!
> + /* FIXME check precedence of spaceship operator. */
It looks like spaceship has precedence between shift and the other
relational operators:
compare-expression:
shift-expression
compare-expression <=> shift-expression
relational-expression:
compare-expression
relational-expression < compare-expression
...
Jason
More information about the Gcc-patches
mailing list