tsteven4 4183336dc1
fix skipping of cpp attributes. (#4971)
* fix skipping of cpp attributes.

* fix simplifyCPPAttribute loop.

When the first token was the start of a c++ attribute on a function,
so that tok->previous() was nullptr at the bottom of the loop,
an extra token would be skipped.  This could result in the corresponding
function being omitted from the symbol table.

* fix alignas test failure, enhance cpp attr test.

* uncrustify.

* fix redundantNextPrevious

* delete redundant code.

* add some tokenizer tests for simplifyCPPAttribute.

* enhance noreturn symbol test.

The order of a noreturn attribute and another attribute used to
matter.  Test both orders.
2023-04-17 20:36:25 +02:00
..
2022-02-05 11:45:17 +01:00
2022-05-21 12:18:27 +02:00
2023-01-28 10:16:34 +01:00
2023-01-28 10:16:34 +01:00
2022-05-21 12:18:27 +02:00
2023-01-28 10:16:34 +01:00
2023-01-28 10:16:34 +01:00
2023-01-28 10:16:34 +01:00
2022-02-05 11:45:17 +01:00
2022-05-21 12:18:27 +02:00
2023-01-28 10:16:34 +01:00
2023-01-28 10:16:34 +01:00
2023-01-28 10:16:34 +01:00
2023-01-28 10:16:34 +01:00
2023-01-28 10:16:34 +01:00
2023-01-28 10:16:34 +01:00
2023-01-28 10:16:34 +01:00
2023-01-28 10:16:34 +01:00
2022-02-05 11:45:17 +01:00
2022-05-21 12:18:27 +02:00
2023-01-28 10:16:34 +01:00
2023-01-28 10:16:34 +01:00
2023-01-28 10:16:34 +01:00
2023-01-28 10:16:34 +01:00
2023-01-28 10:16:34 +01:00
2023-01-28 10:16:34 +01:00
2022-05-21 12:18:27 +02:00
2023-01-28 10:16:34 +01:00
2023-01-28 10:16:34 +01:00
2021-09-26 11:34:56 +02:00
2023-01-28 10:16:34 +01:00
2023-01-28 10:16:34 +01:00
2023-01-28 10:16:34 +01:00
2021-08-07 20:51:18 +02:00
2023-04-11 19:52:55 +02:00
2023-01-28 10:16:34 +01:00
2023-01-29 15:18:22 +01:00
2023-01-28 10:16:34 +01:00
2023-01-28 10:16:34 +01:00