The NetBSD Project

CVS log for src/tests/usr.bin/xlint/lint1/Attic/d_struct_init_nested.exp

[BACK] Up to [cvs.NetBSD.org] / src / tests / usr.bin / xlint / lint1

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.10, Fri Jun 17 20:23:58 2022 UTC (20 months, 2 weeks ago) by rillig
Branch: MAIN
CVS Tags: HEAD
Changes since 1.9: +0 -0 lines
FILE REMOVED

tests/lint: remove .exp files, as they have become redundant

Now that each lint1 test lists all generated diagnostics as 'expect'
comments, the information from the .exp files is no longer needed.  The
only information that gets lost is the order of the diagnostics, which
is mostly relevant for paired messages like 'inconsistent definition' +
'previous definition was here'.

Revision 1.9 / (download) - annotate - [select for diffs], Sat Jan 15 14:22:03 2022 UTC (2 years, 1 month ago) by rillig
Branch: MAIN
Changes since 1.8: +1 -1 lines
Diff to previous 1.8 (colored)

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.8 / (download) - annotate - [select for diffs], Thu Mar 25 01:42:53 2021 UTC (2 years, 11 months ago) by rillig
Branch: MAIN
CVS Tags: cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.7: +1 -4 lines
Diff to previous 1.7 (colored)

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.7 / (download) - annotate - [select for diffs], Sun Mar 21 20:44:59 2021 UTC (2 years, 11 months ago) by rillig
Branch: MAIN
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored)

lint: prefix error messages with 'error:'

This makes it easier to find these errors in the build logs.

Revision 1.6 / (download) - annotate - [select for diffs], Thu Mar 18 21:26:56 2021 UTC (2 years, 11 months ago) by rillig
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

lint: reword message about type mismatch in initialization

Using parentheses for quotes is unusual, furthermore the previous
message didn't follow proper grammar rules, sacrificing clarity for
brevity.

Revision 1.5 / (download) - annotate - [select for diffs], Mon Feb 22 15:09:50 2021 UTC (3 years ago) by rillig
Branch: MAIN
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored)

lint: change spelling of initialisation to initialization

That's the wording from the ISO C99 standard.

Revision 1.4 / (download) - annotate - [select for diffs], Sun Feb 21 10:28:33 2021 UTC (3 years ago) by rillig
Branch: MAIN
Changes since 1.3: +1 -1 lines
Diff to previous 1.3 (colored)

lint: add type information to message about enum mismatch

Revision 1.3 / (download) - annotate - [select for diffs], Sun Jan 31 14:39:31 2021 UTC (3 years, 1 month ago) by rillig
Branch: MAIN
Changes since 1.2: +4 -4 lines
Diff to previous 1.2 (colored)

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) - annotate - [select for diffs], Wed Dec 30 13:41:27 2020 UTC (3 years, 2 months ago) by rillig
Branch: MAIN
Changes since 1.1: +4 -4 lines
Diff to previous 1.1 (colored)

lint: document purpose of the test d_struct_init_nested

Revision 1.1 / (download) - annotate - [select for diffs], Mon Dec 28 10:26:23 2020 UTC (3 years, 2 months ago) by rillig
Branch: MAIN

lint1: add expected output for test d_struct_init_nested

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>