CVS log for src/usr.bin/xlint/lint1/README.md
Up to [cvs.NetBSD.org] / src / usr.bin / xlint / lint1
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.18: download - view: text, markup, annotated - select for diffs
Sun Mar 31 20:28:45 2024 UTC (8 months ago) by rillig
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
HEAD
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -3
lines
lint: merge function call operators 'CALL' and 'ICALL'
Revision 1.17: download - view: text, markup, annotated - select for diffs
Thu Mar 28 21:04:48 2024 UTC (8 months, 1 week ago) by rillig
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +6 -5
lines
lint: clean up
Revision 1.16: download - view: text, markup, annotated - select for diffs
Sat Mar 9 13:54:47 2024 UTC (8 months, 4 weeks ago) by rillig
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +10 -10
lines
lint: inline accessor macros for tnode_t
Revision 1.15: download - view: text, markup, annotated - select for diffs
Mon Feb 5 23:11:22 2024 UTC (10 months ago) by rillig
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +24 -27
lines
lint: make function call arguments directly accessible
Previously, the arguments of a function call expression were arranged in
a linear tree structure, from right to left. To allow easier access to
the arguments, store them in an array instead.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Thu Sep 14 21:08:12 2023 UTC (14 months, 3 weeks ago) by rillig
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -2
lines
lint: remove preprocessor magic from definition of operators
No binary change.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Wed Aug 2 18:51:25 2023 UTC (16 months ago) by rillig
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +10 -10
lines
lint: distinguish between arguments and parameters
Revision 1.12: download - view: text, markup, annotated - select for diffs
Wed Feb 22 23:55:05 2023 UTC (21 months, 1 week ago) by rillig
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +14 -1
lines
lint: document limitations
Revision 1.11: download - view: text, markup, annotated - select for diffs
Sun Feb 5 13:06:36 2023 UTC (22 months ago) by rillig
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +6 -7
lines
tests/lint: update instructions for adding a new test
The redundant variable 'FILES' no longer needs up be updated.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Sat Jan 21 21:14:38 2023 UTC (22 months, 2 weeks ago) by rillig
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +51 -15
lines
lint: extend developer documentation
Revision 1.9: download - view: text, markup, annotated - select for diffs
Fri Jul 8 20:27:36 2022 UTC (2 years, 4 months ago) by rillig
Branches: MAIN
CVS tags: netbsd-10-base,
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.8: preferred, colored
Changes since revision 1.8: +11 -10
lines
lint: fix query for redundant cast before assignment
Previously, 'i = (int)dbl' was marked as redundant, even though it
performs a value conversion.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Tue Jul 5 22:50:41 2022 UTC (2 years, 5 months ago) by rillig
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +5 -3
lines
lint: add additional queries that are not enabled by default
In the last 18 months, several lint warnings have been made adjusted to
allow common usage patterns. For example, lint no longer warns about a
constant condition in the statement 'do { ... } while (false)' (message
161), as this pattern is well-known in statement-like macros, making it
unlikely that the 'false' is a mistake. Another example is casts
between unequal pointer types (message 247) for a few well-known
patterns that are unlikely to be bugs.
Occasionally, it is useful to query the code for patterns or events that
would not justify a warning. These patterns are modeled as predefined
queries that can be selected individually, in addition to and
independently of the existing warnings and errors.
New queries can be added as needed, in the same way as new warnings.
Queries that are deemed no longer used can be deactivated in the same
way as warnings that are no longer used.
As long as none of the queries is enabled, they produce a minimal
overhead of querying a single global variable. Computations that are
more expensive than a few machine instructions should be guarded by
any_query_enabled.
https://mail-index.netbsd.org/source-changes-d/2022/06/28/msg013716.html
ok christos@
Revision 1.7: download - view: text, markup, annotated - select for diffs
Sun Jul 3 19:47:34 2022 UTC (2 years, 5 months ago) by rillig
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +45 -17
lines
lint: extend implementation documentation
Revision 1.6: download - view: text, markup, annotated - select for diffs
Fri Jun 17 18:54:53 2022 UTC (2 years, 5 months ago) by rillig
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +4 -2
lines
tests/lint: make 'expect+-' comments stricter
Previously, the expectations from these comments were already satisfied
if the expectation occurred somewhere in the actual message from lint.
This meant that the prefix 'error:' or 'warning:' could be omitted from
the 'expect' comment. These omissions were hard to see in a manual
review. Now any omissions must be visually marked with '...'.
The test msg_342 now reports its messages properly as being in the file
msg_342.c, rather than msg_341.c. This had been a copy-and-paste
mistake.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Wed Jun 15 18:11:02 2022 UTC (2 years, 5 months ago) by rillig
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -3
lines
lint: clean up an empty line and the documentation
No functional change.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Sat Apr 16 20:18:51 2022 UTC (2 years, 7 months ago) by rillig
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +5 -5
lines
lint: fix instructions for adding a new test
Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat Apr 16 09:18:33 2022 UTC (2 years, 7 months ago) by rillig
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +38 -17
lines
lint: extend README
Revision 1.2: download - view: text, markup, annotated - select for diffs
Wed Apr 13 22:58:18 2022 UTC (2 years, 7 months ago) by rillig
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +21 -6
lines
lint: remove trailing whitespace from README, add useful breakpoints
Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Apr 10 00:42:29 2022 UTC (2 years, 7 months ago) by rillig
Branches: MAIN
lint: add quickstart documentation to the implementation of lint
CVSweb <webmaster@jp.NetBSD.org>