Home | History | Annotate | Download | only in lint1
History log of /src/tests/usr.bin/xlint/lint1/decl_struct_member.c
RevisionDateAuthorComments
 1.20  12-Apr-2025  rillig lint: s/illegal/invalid/g

Lint does not provide legal advice.
 1.19  03-Jan-2025  rillig lint: add detail to message about obsolete identifier list
 1.18  01-Dec-2024  rillig lint: warn about function definitions that still use identifier lists
 1.17  22-May-2023  rillig lint: rename constant NOTSPEC to NO_TSPEC

It was too easy to misread the old name as NOT_SPEC instead of the
intended NO_TSPEC.
 1.16  28-Mar-2023  rillig lint: warn about extern declarations outside headers

https://mail-index.netbsd.org/tech-userlevel/2023/03/15/msg013727.html
 1.15  17-Jun-2022  rillig tests/lint: make 'expect+-' comments stricter

Previously, the expectations from these comments were already satisfied
if the expectation occurred somewhere in the actual message from lint.
This meant that the prefix 'error:' or 'warning:' could be omitted from
the 'expect' comment. These omissions were hard to see in a manual
review. Now any omissions must be visually marked with '...'.

The test msg_342 now reports its messages properly as being in the file
msg_342.c, rather than msg_341.c. This had been a copy-and-paste
mistake.
 1.14  15-Jan-2022  rillig tests/lint: expect complete messages in feature tests

Previously, the tests contained many comments like /* expect: 123 */,
which were useless to a casual reader since nobody is expected to learn
lint's message IDs by heart. Replace these with the complete
diagnostics, to show what lint is complaining about.

The tests named msg_*.c have been left unmodified since they mention the
full message text in their header comment.

No functional change.
 1.13  22-Dec-2021  rillig lint: remove spaces around bit-field colon

As seen in /usr/share/misc/style.

No binary change.
 1.12  05-Sep-2021  rillig tests/lint: document the fixed assertion failure for struct

The change to cgram.y 1.328 from 2021-07-15 didn't fix the crash on
purpose, it was merely a side effect. The grammar rule that probably
fixed this was that the error handling now skips to the next T_SEMI,
which it didn't do before.
 1.11  25-Aug-2021  rillig tests/lint: test conversion from long long to intptr_t on ilp32

Seen in usr.bin/make/var.c:1608.
 1.10  21-Jul-2021  rillig lint: rename grammar rules for specifier-qualifier-list

No functional change.
 1.9  15-Jul-2021  rillig tests/lint: cover more edge cases in the parser
 1.8  15-Jul-2021  rillig lint: remove message 66 about missing semicolon in struct-declaration
 1.7  15-Jul-2021  rillig tests/lint: test struct declarations
 1.6  14-Jul-2021  rillig tests/lint: add several tests for edge cases in the grammar
 1.5  10-Jul-2021  rillig lint: fix parsing of __attribute__ for member (since 2021-07-10)

Since cgram.y 1.280 from 2021-07-10, lint could not parse struct members
that have multiple __attribute__ in front of their type.
 1.4  10-Jul-2021  rillig tests/lint: demonstrate parse error for __attribute__ member
 1.3  10-Jul-2021  rillig lint: rename clrtyp/deftyp to begin_type/end_type

The abbreviations clr/def did not make it obvious that these two
functions or grammar rules form pairs.

No functional change.
 1.2  20-Jun-2021  rillig lint: fix assertion failure on malformed struct declaration

Found using afl.
 1.1  19-Jun-2021  rillig lint: fix assertion failure in struct with unnamed member

Found using afl.

RSS XML Feed