History log of /src/tests/usr.bin/xlint/lint1/gcc_attribute_func.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base
# 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 13-Nov-2024 rillig

lint: handle _Noreturn, [[noreturn]] and __attribute__((__noreturn__))


Revision tags: perseant-exfatfs-base-20240630 perseant-exfatfs-base
# 1.4 28-Mar-2023 rillig

branches: 1.4.2;
lint: warn about extern declarations outside headers

https://mail-index.netbsd.org/tech-userlevel/2023/03/15/msg013727.html


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 11-Jun-2022 rillig

lint: add quotes around a few more placeholders in messages


# 1.2 14-Jul-2021 rillig

tests/lint: add several tests for edge cases in the grammar


# 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.