History log of /src/tests/usr.bin/xlint/lint1/decl_enum.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base
# 1.6 29-Oct-2024 rillig

lint: add details to message about too large integer constant


Revision tags: perseant-exfatfs-base-20240630 perseant-exfatfs-base
# 1.5 01-May-2024 rillig

branches: 1.5.2;
tests/lint: test large enum constants and offsetof with array members


# 1.4 30-Jun-2023 rillig

lint: clean up names related to declaration levels

The previous prefix 'DK_' (declaration level kind) had a conflict with
the 'DK_' (designator kind) in init.c, so change the prefix to 'DLK_'.
The new name for dinfo_t is decl_level, which is more expressive.

No functional change.


Revision tags: netbsd-10-1-RELEASE netbsd-10-0-RELEASE netbsd-10-0-RC6 netbsd-10-0-RC5 netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 netbsd-10-0-RC1 netbsd-10-base
# 1.3 16-Apr-2022 rillig

lint: in C99 mode, allow trailing comma in enum declarations

Adjust the test to be run in C90 mode instead of traditional mode, since
traditional C didn't have enums.


# 1.2 08-Apr-2022 rillig

lint: remove unused message 70, add some more tests


# 1.1 15-Jul-2021 rillig

tests/lint: cover more edge cases in the parser