History log of /netbsd-current/tests/usr.bin/xlint/lint1/expr_range.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.5 28-Mar-2023 rillig

lint: warn about extern declarations outside headers

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


Revision tags: netbsd-10-base
# 1.4 15-Jan-2022 rillig

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.


# 1.3 05-Jul-2021 rillig

tests/lint: fix typos in comment in expr_range


Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1
# 1.2 15-May-2021 rillig

branches: 1.2.2;
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.


# 1.1 14-May-2021 rillig

tests/lint: test bitwise mismatch in switch statement


# 1.4 15-Jan-2022 rillig

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.


# 1.3 05-Jul-2021 rillig

tests/lint: fix typos in comment in expr_range


Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1
# 1.2 15-May-2021 rillig

branches: 1.2.2;
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.


# 1.1 14-May-2021 rillig

tests/lint: test bitwise mismatch in switch statement