History log of /src/tests/usr.bin/xlint/lint1/gcc_init_compound_literal.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base perseant-exfatfs-base-20240630 perseant-exfatfs-base
# 1.8 29-Jul-2023 rillig

lint: condense code for ending a function

No functional change.


# 1.7 28-Mar-2023 rillig

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

lint: add quotes around a few more placeholders in messages


Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
# 1.4 18-Apr-2021 rillig

tests/lint: remove work-in-progress code

The only purpose of the additional initializers was to generate an error
message, to make the .exp file non-empty. This is no longer needed.


# 1.3 17-Apr-2021 rillig

lint: fix assertion failure for temporary objects in initialization


# 1.2 17-Apr-2021 rillig

tests/lint: fix analysis from previous commit, add another example

This is not a GCC feature, it's required by C99 already.


# 1.1 17-Apr-2021 rillig

tests/lint: demonstrate assertion failure in initialization