The NetBSD Project

CVS log for src/tests/usr.bin/xlint/lint1/decl_arg.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.13 / (download) - annotate - [select for diffs], Sun Jan 28 08:17:27 2024 UTC (4 weeks, 5 days ago) by rillig
Branch: MAIN
CVS Tags: HEAD
Changes since 1.12: +5 -5 lines
Diff to previous 1.12 (colored)

tests/lint: sort multiple diagnostics per line chronologically

For now, the chronologic order is not enforced but has to be established
manually, for example by removing all 'expect' comment lines and
regenerating them with 'accept.sh -u'.

While here, clean up a few instances that came up when regenerating the
'expect' comments, such as wrong indentation or needless deviation from
the 'expect+1' form.

Revision 1.12 / (download) - annotate - [select for diffs], Wed Aug 2 18:51:25 2023 UTC (6 months, 4 weeks ago) by rillig
Branch: MAIN
Changes since 1.11: +16 -16 lines
Diff to previous 1.11 (colored)

lint: distinguish between arguments and parameters

Revision 1.11 / (download) - annotate - [select for diffs], Wed Aug 2 05:44:27 2023 UTC (6 months, 4 weeks ago) by rillig
Branch: MAIN
Changes since 1.10: +19 -1 lines
Diff to previous 1.10 (colored)

lint: simplify handling of old-style arguments

Revision 1.10 / (download) - annotate - [select for diffs], Sun Jul 9 11:18:55 2023 UTC (7 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.9: +6 -6 lines
Diff to previous 1.9 (colored)

lint: clean up wording in diagnostics

Use the term 'parameter' as defined in C99 3.15.

Revision 1.9 / (download) - annotate - [select for diffs], Sun Jul 9 11:01:27 2023 UTC (7 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored)

lint: clean up the wording of a few diagnostics

Revision 1.8 / (download) - annotate - [select for diffs], Tue Mar 28 14:44:34 2023 UTC (11 months ago) by rillig
Branch: MAIN
Changes since 1.7: +3 -1 lines
Diff to previous 1.7 (colored)

lint: warn about extern declarations outside headers

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

Revision 1.7 / (download) - annotate - [select for diffs], Mon Jun 20 21:13:36 2022 UTC (20 months, 1 week ago) by rillig
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10
Changes since 1.6: +15 -15 lines
Diff to previous 1.6 (colored)

lint: add quotes around several placeholders in messages

Revision 1.6 / (download) - annotate - [select for diffs], Sun Jul 25 06:04:40 2021 UTC (2 years, 7 months ago) by rillig
Branch: MAIN
Changes since 1.5: +6 -2 lines
Diff to previous 1.5 (colored)

tests/lint: demonstrate internal error in parsing a declaration

Revision 1.5 / (download) - annotate - [select for diffs], Sat Jul 10 09:24:27 2021 UTC (2 years, 7 months ago) by rillig
Branch: MAIN
Changes since 1.4: +7 -1 lines
Diff to previous 1.4 (colored)

tests/lint: add more tests for covering the grammar

Revision 1.4 / (download) - annotate - [select for diffs], Sat Jul 10 08:40:36 2021 UTC (2 years, 7 months ago) by rillig
Branch: MAIN
Changes since 1.3: +17 -2 lines
Diff to previous 1.3 (colored)

tests/lint: add code coverage for grammar rule parameter_declaration

Revision 1.3 / (download) - annotate - [select for diffs], Sat Jul 10 08:01:11 2021 UTC (2 years, 7 months ago) by rillig
Branch: MAIN
Changes since 1.2: +13 -1 lines
Diff to previous 1.2 (colored)

lint: add code coverage for grammar rule direct_notype_param_decl

Revision 1.2 / (download) - annotate - [select for diffs], Sat Jul 10 06:01:41 2021 UTC (2 years, 7 months ago) by rillig
Branch: MAIN
Changes since 1.1: +6 -1 lines
Diff to previous 1.1 (colored)

tests/lint: move test for __attribute__ out of msg_124.c

That test case didn't belong there since there was no chance of getting
an 'illegal pointer combination' by applying an operator.

Revision 1.1 / (download) - annotate - [select for diffs], Fri Jul 9 20:20:03 2021 UTC (2 years, 7 months ago) by rillig
Branch: MAIN

tests/lint: add test for unrealistic edge cases in declarations

The example code for triggering these grammar rules looks completely
contrived.  Even if lint had not implemented these cases, hopefully
nobody would have ever noticed.

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>