The NetBSD Project

CVS log for src/tests/usr.bin/xlint/lint1/t_usage.sh

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.18 / (download) - annotate - [select for diffs], Sun Mar 3 00:50:41 2024 UTC (2 days, 1 hour ago) by rillig
Branch: MAIN
CVS Tags: HEAD
Changes since 1.17: +4 -4 lines
Diff to previous 1.17 (colored)

lint: check for unreachable bits and fields in snprintb formats

While here, clean up a few existing checks.

Revision 1.17 / (download) - annotate - [select for diffs], Sat Mar 2 11:56:37 2024 UTC (2 days, 14 hours ago) by rillig
Branch: MAIN
Changes since 1.16: +4 -4 lines
Diff to previous 1.16 (colored)

lint: check snprintb formats for overlapping bits and fields

Revision 1.16 / (download) - annotate - [select for diffs], Fri Mar 1 19:39:29 2024 UTC (3 days, 6 hours ago) by rillig
Branch: MAIN
Changes since 1.15: +4 -4 lines
Diff to previous 1.15 (colored)

lint: test format strings from snprintb calls

The functions snprintb and snprintb_m are specific to NetBSD, and their
format strings are tricky to get correct.  Provide some assistance in
catching the most common mistakes.

Revision 1.15 / (download) - annotate - [select for diffs], Sat Feb 3 20:10:11 2024 UTC (4 weeks, 2 days ago) by rillig
Branch: MAIN
Changes since 1.14: +3 -3 lines
Diff to previous 1.14 (colored)

lint: warn about short octal escape followed by '8' or '9'

These mistakes is typically found in snprintb format directives but is
probably a typo everywhere else as well.

Revision 1.14 / (download) - annotate - [select for diffs], Sat Jan 20 10:02:31 2024 UTC (6 weeks, 2 days ago) by rillig
Branch: MAIN
Changes since 1.13: +4 -4 lines
Diff to previous 1.13 (colored)

lint: add query for const automatic variables

Revision 1.13 / (download) - annotate - [select for diffs], Sun Jan 7 18:42:37 2024 UTC (8 weeks, 1 day ago) by rillig
Branch: MAIN
Changes since 1.12: +4 -4 lines
Diff to previous 1.12 (colored)

lint: allow querying for invisible characters in literals and constants

Revision 1.12 / (download) - annotate - [select for diffs], Sun Dec 10 15:29:38 2023 UTC (2 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.11: +4 -4 lines
Diff to previous 1.11 (colored)

lint: allow querying for 'static' followed by non-'static' declaration

Revision 1.11 / (download) - annotate - [select for diffs], Thu Aug 3 18:48:42 2023 UTC (7 months ago) by rillig
Branch: MAIN
Changes since 1.10: +4 -4 lines
Diff to previous 1.10 (colored)

lint: make '_Static_assert' only available in C11 or C23 mode

Revision 1.10 / (download) - annotate - [select for diffs], Sun Jul 2 23:40:23 2023 UTC (8 months ago) by rillig
Branch: MAIN
Changes since 1.9: +4 -4 lines
Diff to previous 1.9 (colored)

lint: add initial support for C23

Required by xsrc/external/mit/MesaLib.old, brw_eu_validate.c, which
initializes a struct using empty braces: 'return (struct string){};'.

Revision 1.9 / (download) - annotate - [select for diffs], Fri Jun 30 08:45:22 2023 UTC (8 months ago) by rillig
Branch: MAIN
Changes since 1.8: +4 -4 lines
Diff to previous 1.8 (colored)

lint: add query for assigning an integer 0 to a pointer

Revision 1.8 / (download) - annotate - [select for diffs], Wed Jun 28 09:35:42 2023 UTC (8 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.7: +3 -11 lines
Diff to previous 1.7 (colored)

tests/lint: use standard form of ATF tests, test removing output file

Revision 1.7 / (download) - annotate - [select for diffs], Sat Jun 24 08:11:12 2023 UTC (8 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.6: +4 -4 lines
Diff to previous 1.6 (colored)

lint: add query for comparing 'char' with plain integers

Revision 1.6 / (download) - annotate - [select for diffs], Sat Jun 24 06:55:34 2023 UTC (8 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.5: +4 -4 lines
Diff to previous 1.5 (colored)

lint: add query for redundant 'extern' in function declaration

Revision 1.5 / (download) - annotate - [select for diffs], Thu Jun 22 13:57:44 2023 UTC (8 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.4: +4 -4 lines
Diff to previous 1.4 (colored)

lint: add query for comma operator

Revision 1.4 / (download) - annotate - [select for diffs], Sat Jun 3 21:08:06 2023 UTC (9 months ago) by rillig
Branch: MAIN
Changes since 1.3: +4 -4 lines
Diff to previous 1.3 (colored)

lint: add query for static variables in functions

This query allows finding hidden global variables, as an easier-to-read
alternative to 'objdump -t'.

Revision 1.3 / (download) - annotate - [select for diffs], Sat May 13 20:55:44 2023 UTC (9 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.2: +4 -4 lines
Diff to previous 1.2 (colored)

lint: add query for chained assignments

Revision 1.2 / (download) - annotate - [select for diffs], Sun Apr 23 09:04:44 2023 UTC (10 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.1: +12 -6 lines
Diff to previous 1.1 (colored)

lint: be strict when parsing command line for excluded message IDs

Previously, lint accepted -X '1, 2, 3', while the manual page lists the
IDs without spaces.

On 32-bit platforms, lint accepted -X -4294967295, and on 64-bit
platforms, it accepted the corresponding larger numbers.

The code for parsing message IDs and query IDs conceptually does the
same, but the implementations differed for no reason.

Revision 1.1 / (download) - annotate - [select for diffs], Sun Apr 23 08:47:27 2023 UTC (10 months, 1 week ago) by rillig
Branch: MAIN

tests/lint: test command line parsing for message and query IDs

The parsing methods differ but shouldn't.

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>