If possible skip lambdas and don't modify it. Or format properly.
something like this, see attachment
astyle 3.4 has a new option "--indent-lambda". Have you tried it?
27 апр. 2024 г., в 05:30, Roy Qu <royqh1979@users.sourceforge.net> написал(а):
astyle 3.4 has a new option "--indent-lambda". Have you tried it? [bugs:#568] c++ lambdas are broken Status: open Created: Thu Apr 25, 2024 03:02 PM UTC by Andrew Last Updated: Thu Apr 25, 2024 03:02 PM UTC Owner: nobody Attachments: photo_2024-04-25_18-01-13.jpg (19.8 kB; image/jpeg) photo_2024-04-25_18-01-20.jpg (19.0 kB; image/jpeg) photo_2024-04-25_18-01-24.jpg (27.5 kB; image/jpeg) If possible skip lambdas and don't modify it. Or format properly. something like this, see attachment Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/astyle/bugs/568/ To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/ <link itemprop="url" href="https://sourceforge.net/p/astyle/bugs/568/"> <meta itemprop="name" content="View"> <meta itemprop="description" content="View">
[bugs:#568] c++ lambdas are broken
Status: open Created: Thu Apr 25, 2024 03:02 PM UTC by Andrew Last Updated: Thu Apr 25, 2024 03:02 PM UTC Owner: nobody Attachments:
Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/astyle/bugs/568/
To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/
Hi, could you give a bit more context (options)? I cannot replicate using '--indent-lambda' . The last example is cropped too much.
3 мая 2024 г., в 14:30, André Simon <saalen@users.sourceforge.net> написал(а):
Hi, could you give a bit more context (options)? I cannot replicate using '--indent-lambda' . The last example is cropped too much. [bugs:#568] c++ lambdas are broken Status: open Created: Thu Apr 25, 2024 03:02 PM UTC by Andrew Last Updated: Sat Apr 27, 2024 02:30 AM UTC Owner: nobody Attachments: photo_2024-04-25_18-01-13.jpg (19.8 kB; image/jpeg) photo_2024-04-25_18-01-20.jpg (19.0 kB; image/jpeg) photo_2024-04-25_18-01-24.jpg (27.5 kB; image/jpeg) If possible skip lambdas and don't modify it. Or format properly. something like this, see attachment Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/astyle/bugs/568/ To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/ <link itemprop="url" href="https://sourceforge.net/p/astyle/bugs/568/"> <meta itemprop="name" content="View"> <meta itemprop="description" content="View">
Status: open Created: Thu Apr 25, 2024 03:02 PM UTC by Andrew Last Updated: Sat Apr 27, 2024 02:30 AM UTC Owner: nobody Attachments:
https://gist.github.com/aleksandrbazhin/8df09cdb2e701340167a7e8c42a71dcb
Hi, please try with a recent version as it gives better output (with --indent-lambda).
Log in to post a comment.
astyle 3.4 has a new option "--indent-lambda". Have you tried it?
Hi, could you give a bit more context (options)? I cannot replicate using '--indent-lambda' . The last example is cropped too much.
https://gist.github.com/aleksandrbazhin/8df09cdb2e701340167a7e8c42a71dcb
Hi, please try with a recent version as it gives better output (with --indent-lambda).