dummyunit 9652ca39a3
Improve support for labels in simplifyAddBraces step (#3278)
Previously only a single regular label before a compound statement was
allowed in simplifyAddBracesPair() after if/switch/do/while/for.
This patch adds support for:
* case-labels;
* labels before a single statement;
* labels before try/catch blocks;
* multiple consecutive labels.

Additionally the code for skipping a case label was extracted into a
separate function from simplifyLabelsCaseDefault() and reused in
simplifyAddBracesPair().
2021-06-02 07:00:37 +02:00
..
2021-05-22 07:39:27 +02:00
2019-06-29 07:49:14 +02:00
2021-03-21 20:58:32 +01:00
2020-05-10 11:16:32 +02:00
2021-03-21 20:58:32 +01:00
2021-03-21 20:58:32 +01:00
2021-03-21 20:58:32 +01:00
2021-03-21 20:58:32 +01:00
2021-03-21 20:58:32 +01:00
2021-03-21 20:58:32 +01:00
2021-04-09 08:46:47 +02:00
2021-04-22 19:08:24 +02:00
2021-03-21 20:58:32 +01:00
2020-05-10 11:16:32 +02:00
2021-03-21 20:58:32 +01:00
2020-05-10 11:16:32 +02:00
2020-05-10 11:16:32 +02:00
2021-03-21 20:58:32 +01:00
2021-03-21 20:58:32 +01:00
2019-06-29 07:49:14 +02:00
2021-05-23 14:36:45 +02:00
2021-03-21 20:58:32 +01:00
2021-03-21 20:58:32 +01:00
2021-03-21 20:58:32 +01:00
2021-03-21 20:58:32 +01:00
2021-03-21 20:58:32 +01:00
2021-03-21 20:58:32 +01:00
2021-03-21 20:58:32 +01:00
2021-04-28 11:57:28 +02:00
2021-03-21 20:58:32 +01:00
2021-03-21 20:58:32 +01:00
2021-03-21 20:58:32 +01:00
2021-03-21 20:58:32 +01:00