Hi Jakub,

On Wed, May 21, 2025 at 11:12:07PM +0200, Jakub Jelinek wrote:
> >      warning_at (loc, OPT_Wc___compat,
> >             "defining type in %qs expression is invalid in C++",
> >             (in_sizeof
> >              ? "sizeof"
> > -            : (in_typeof ? "typeof" : "alignof")));
> > +            : (in_typeof
> > +               ? "typeof"
> > +               : (in_alignof
> > +                  ? "alignof"
> > +                  : "_Countof"))));
> 
> Why so many lines?

Because IMO using two lines and breaking at a random point would make it
less readable.  Which style do you prefer?  If you send me an exact way
I should use, I'll paste it.


Cheers,
Alex

-- 
<https://www.alejandro-colomar.es/>

Attachment: signature.asc
Description: PGP signature

Reply via email to