GNU bug report logs -
#72695
CC Mode 5.35.2 (C++//l); c++-mode misindents 'if constexpr' inside lambdas
Previous Next
Reported by: Arsen Arsenović <arsen <at> aarsen.me>
Date: Sun, 18 Aug 2024 09:52:02 UTC
Severity: normal
Done: Alan Mackenzie <acm <at> muc.de>
Bug is archived. No further changes may be made.
Full log
Message #14 received at 72695 <at> debbugs.gnu.org (full text, mbox):
Hello, Arsen.
A short progress report.
On Wed, Aug 21, 2024 at 22:40:02 +0200, Arsen Arsenović wrote:
> Hello Alan,
> Alan Mackenzie <acm <at> muc.de> writes:
> > Thanks for the bug report!
> My pleasure. Thanks for being as fast as always.
I apologise for not having been as fast over the last few days. Partly,
I'm bringing up a new computer, which never goes as fast as one would
like.
But mainly I'm struggling with the unfathomable complexity of C++ lambda
functions, as documented on
https://en.cppreference.com/w/cpp/language/lambda.
In my not so humble opinion, the C++ standards people have completely
lost the plot. The number of special cases in just the syntax,
apparently just to save a few characters from a program's text, has got
beyond the point where anybody can grasp it. Nobody in this group of
people appears to be able to say "STOP!", though somebody sorely needs
to. I dread to think what will be coming out in C++26. :-(
Anyhow, I've spent all afternoon on the problem so far, and I think I can
see my way to a solution. It will still take a few more days yet, I'm
afraid.
[ .... ]
> > OK. I'll fix the "brace-list" indentation bug first, then come back to
> > this lambda indentation problem.
> Thank you very much!
[ .... ]
> --
> Arsen Arsenović
--
Alan Mackenzie (Nuremberg, Germany).
This bug report was last modified 293 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.