CVS log for src/tests/usr.bin/xlint/lint1/Attic/d_struct_init_nested.c
Up to [cvs.NetBSD.org] / src / tests / usr.bin / xlint / lint1
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.9
Sat Jun 8 13:50:47 2024 UTC (7 months, 2 weeks ago) by rillig
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
HEAD
FILE REMOVED
Changes since revision 1.8: +1 -1
lines
tests/lint: group tests by topic
Revision 1.8: download - view: text, markup, annotated - select for diffs
Tue Mar 28 14:44:34 2023 UTC (21 months, 4 weeks ago) by rillig
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +3 -1
lines
lint: warn about extern declarations outside headers
https://mail-index.netbsd.org/tech-userlevel/2023/03/15/msg013727.html
Revision 1.7: download - view: text, markup, annotated - select for diffs
Sat Jan 15 14:22:03 2022 UTC (3 years ago) by rillig
Branches: MAIN
CVS tags: netbsd-10-base,
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
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +3 -2
lines
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.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu Mar 25 01:42:53 2021 UTC (3 years, 10 months ago) by rillig
Branches: MAIN
CVS tags: cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +19 -5
lines
lint: fix C99 initialization with expression of type 'struct'
This has been a long-standing limitation of lint. Now it is almost
ready for C99, see the list of "major changes" in the foreword of C99.
One known remaining bug in the area of initialization is designators
with several levels, such as '.member[2].member.member'. Oh, and
designators for arrays are only supported in the parser but not in the
type checker. There's still some work to do.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Thu Mar 18 20:58:02 2021 UTC (3 years, 10 months ago) by rillig
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +1 -2
lines
tests/lint: warning 210 has type information by now
Revision 1.4: download - view: text, markup, annotated - select for diffs
Sun Feb 21 09:07:58 2021 UTC (3 years, 11 months ago) by rillig
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +6 -6
lines
lint: force each test to declare the expected diagnostics
By listing the expected diagnostics directly at the code that triggers
the diagnostics, it is easier to cross-check whether the diagnostics
make sense.
No functional change to lint itself.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Jan 31 14:39:31 2021 UTC (3 years, 11 months ago) by rillig
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -1
lines
lint: add common header for all tests
For those tests that didn't use GCC-style line markers such as "# 2",
the line numbers of the diagnostics stay the same. This is purely
conincidental. Before, the 3 lines came from lint's built-in
definitions (see 'builtins' in main1.c), and line number counting
continued as if nothing had happened, making the first line of the
actual file line 4. These 3 built-in lines are now replaced with 3
lines of file header.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Wed Dec 30 13:41:27 2020 UTC (4 years ago) by rillig
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +7 -0
lines
lint: document purpose of the test d_struct_init_nested
Revision 1.1: download - view: text, markup, annotated - select for diffs
Mon Dec 28 10:22:21 2020 UTC (4 years ago) by rillig
Branches: MAIN
lint1: add test for initializing nested structs
Discovered in var.c 1.774 from 2020-12-28.
CVSweb <webmaster@jp.NetBSD.org>