OpenGrok
Cross Reference: gcc_attribute_enum.c
xref
: /
src
/
tests
/
usr.bin
/
xlint
/
lint1
/
gcc_attribute_enum.c
Home
|
History
|
Annotate
|
Download
|
only in
lint1
History log of
/src/tests/usr.bin/xlint/lint1/gcc_attribute_enum.c
Revision
Date
Author
Comments
1.6
16-May-2025
rillig
tests/lint: test multiple attributes on enums, functions and labels
The grammar rule 'gcc_attribute_specifier_list:
gcc_attribute_specifier_list gcc_attribute_specifier' was not covered
before.
1.5
17-Jun-2022
rillig
branches: 1.5.4;
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.4
25-Jul-2021
rillig
lint: fix parsing of enumerators with __attribute__
1.3
25-Jul-2021
rillig
lint: fix parsing of __attribute__ before enum tag
The __attribute__ after the enumerators will be fixed in a follow-up
commit since lint exits after the 5th syntax error in a translation
unit, which up to now shadowed the error messages about the enumerators.
1.2
25-Jul-2021
rillig
tests/lint: test __attribute__ with enum
1.1
06-Jul-2021
rillig
tests/lint: add tests for GCC __attribute__
Before fixing the wrong handling of __attribute__ that is demonstrated
at the end of gcc_attribute.c, ensure that the attribute handling works
in the most basic cases.
Lint currently accepts __attribute__ in more places than it should.
This leads to some ambiguities in the grammar.
1.5.4.1
02-Aug-2025
perseant
Sync with HEAD
Indexes created Sun Sep 28 16:09:52 GMT 2025