CVS log for src/tests/usr.bin/xlint/lint1/expr_range.c
Up to [cvs.NetBSD.org] / src / tests / usr.bin / xlint / lint1
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.6: download - view: text, markup, annotated - select for diffs
Wed Nov 13 04:32:49 2024 UTC (5 months, 1 week ago) by rillig
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +3 -3
lines
lint: add more details to 'statement not reached' message
In lib/libcompat/regexp/regexp.c, the FAIL macro expands to a compound
statement containing a function call statement and a return statement,
and the macro invocation is followed by a semicolon, forming an extra
empty statement. Which of these statements is unreachable now becomes
clear from the diagnostic, without having to inspect the preprocessed
source code.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Tue Mar 28 14:44:34 2023 UTC (2 years ago) by rillig
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -2
lines
lint: warn about extern declarations outside headers
https://mail-index.netbsd.org/tech-userlevel/2023/03/15/msg013727.html
Revision 1.4: download - view: text, markup, annotated - select for diffs
Sat Jan 15 14:22:03 2022 UTC (3 years, 3 months ago) by rillig
Branches: MAIN
CVS tags: netbsd-10-base,
netbsd-10-1-RELEASE,
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.3: preferred, colored
Changes since revision 1.3: +5 -3
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.3: download - view: text, markup, annotated - select for diffs
Mon Jul 5 19:43:29 2021 UTC (3 years, 9 months ago) by rillig
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +4 -4
lines
tests/lint: fix typos in comment in expr_range
Revision 1.2.2.2: download - view: text, markup, annotated - select for diffs
Mon May 31 22:15:24 2021 UTC (3 years, 10 months ago) by cjep
Branches: cjep_staticlib_x
Diff to: previous 1.2.2.1: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.2.1: +43 -0
lines
sync with head
Revision 1.2.2.1
Sat May 15 19:12:14 2021 UTC (3 years, 11 months ago) by cjep
Branches: cjep_staticlib_x
FILE REMOVED
Changes since revision 1.2: +0 -43
lines
file expr_range.c was added on branch cjep_staticlib_x on 2021-05-31 22:15:24 +0000
Revision 1.2: download - view: text, markup, annotated - select for diffs
Sat May 15 19:12:14 2021 UTC (3 years, 11 months ago) by rillig
Branches: MAIN
CVS tags: cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1
Branch point for: cjep_staticlib_x
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +22 -16
lines
lint: warn about unreachable case labels for '&&'
See octeon_gmxreg.h 1.2 from 2020-06-18 for an example, where
RXN_RX_INBND_SPEED was cleaned up without adjusting the corresponding
code in octeon_gmx.c.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Fri May 14 21:14:55 2021 UTC (3 years, 11 months ago) by rillig
Branches: MAIN
tests/lint: test bitwise mismatch in switch statement
CVSweb <webmaster@jp.NetBSD.org>