The NetBSD Project

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

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.12
Fri Jun 17 20:23:58 2022 UTC (2 years, 7 months ago) by rillig
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, HEAD
FILE REMOVED
Changes since revision 1.11: +0 -0 lines
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.11: download - view: text, markup, annotated - select for diffs
Sat Jan 15 14:22:03 2022 UTC (3 years ago) by rillig
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +4 -4 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.10: download - view: text, markup, annotated - select for diffs
Sun Sep 5 11:42:32 2021 UTC (3 years, 4 months ago) by rillig
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +1 -1 lines
tests/lint: document the fixed assertion failure for struct

The change to cgram.y 1.328 from 2021-07-15 didn't fix the crash on
purpose, it was merely a side effect.  The grammar rule that probably
fixed this was that the error handling now skips to the next T_SEMI,
which it didn't do before.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Wed Aug 25 22:04:52 2021 UTC (3 years, 4 months ago) by rillig
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +3 -2 lines
tests/lint: test conversion from long long to intptr_t on ilp32

Seen in usr.bin/make/var.c:1608.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Thu Jul 15 21:00:05 2021 UTC (3 years, 6 months ago) by rillig
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -2 lines
tests/lint: cover more edge cases in the parser

Revision 1.7: download - view: text, markup, annotated - select for diffs
Thu Jul 15 20:05:49 2021 UTC (3 years, 6 months ago) by rillig
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +0 -1 lines
lint: remove message 66 about missing semicolon in struct-declaration

Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu Jul 15 19:51:29 2021 UTC (3 years, 6 months ago) by rillig
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +8 -4 lines
tests/lint: test struct declarations

Revision 1.5: download - view: text, markup, annotated - select for diffs
Wed Jul 14 20:39:13 2021 UTC (3 years, 6 months ago) by rillig
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +4 -4 lines
tests/lint: add several tests for edge cases in the grammar

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sat Jul 10 22:46:02 2021 UTC (3 years, 6 months ago) by rillig
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +4 -5 lines
lint: fix parsing of __attribute__ for member (since 2021-07-10)

Since cgram.y 1.280 from 2021-07-10, lint could not parse struct members
that have multiple __attribute__ in front of their type.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat Jul 10 22:34:02 2021 UTC (3 years, 6 months ago) by rillig
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +5 -4 lines
tests/lint: demonstrate parse error for __attribute__ member

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun Jun 20 11:24:32 2021 UTC (3 years, 6 months ago) by rillig
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +3 -0 lines
lint: fix assertion failure on malformed struct declaration

Found using afl.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sat Jun 19 19:49:15 2021 UTC (3 years, 6 months ago) by rillig
Branches: MAIN
lint: fix assertion failure in struct with unnamed member

Found using afl.

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>