History log of /netbsd-current/tests/usr.bin/xlint/lint1/msg_332.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.7 02-Aug-2023 rillig

lint: distinguish between arguments and parameters


# 1.6 09-Jul-2023 rillig

lint: remove redundant '#' after 'argument' in diagnostics


# 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 17-Jun-2022 rillig

tests/lint: add more details to tests from msg_300 until msg_343


Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
# 1.3 05-Apr-2021 rillig

tests/lint: one comment per expected diagnostic

This makes it possible to check for diagnostics that contain commas.


# 1.2 16-Jan-2021 rillig

lint: in strict bool mode, integer constants do not have type bool

Previously, lint1 allowed integer constants such as 0 and 1 to be used
as bool constants. This was only half-baked since after fixing all
error messages from that strict mode, there may still be integer
literals in the code that should be replaced with true or false. This
would stop a migration from int to bool in the middle, leaving
inconsistent code around.

To find the remaining type inconsistencies, treat integers and bool as
completely incompatible, even for compile time constants.


# 1.1 14-Jan-2021 rillig

lint: add tests for newly added messages for strict bool mode


# 1.6 09-Jul-2023 rillig

lint: remove redundant '#' after 'argument' in diagnostics


# 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 17-Jun-2022 rillig

tests/lint: add more details to tests from msg_300 until msg_343


Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
# 1.3 05-Apr-2021 rillig

tests/lint: one comment per expected diagnostic

This makes it possible to check for diagnostics that contain commas.


# 1.2 16-Jan-2021 rillig

lint: in strict bool mode, integer constants do not have type bool

Previously, lint1 allowed integer constants such as 0 and 1 to be used
as bool constants. This was only half-baked since after fixing all
error messages from that strict mode, there may still be integer
literals in the code that should be replaced with true or false. This
would stop a migration from int to bool in the middle, leaving
inconsistent code around.

To find the remaining type inconsistencies, treat integers and bool as
completely incompatible, even for compile time constants.


# 1.1 14-Jan-2021 rillig

lint: add tests for newly added messages for strict bool mode


# 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 17-Jun-2022 rillig

tests/lint: add more details to tests from msg_300 until msg_343


Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
# 1.3 05-Apr-2021 rillig

tests/lint: one comment per expected diagnostic

This makes it possible to check for diagnostics that contain commas.


# 1.2 16-Jan-2021 rillig

lint: in strict bool mode, integer constants do not have type bool

Previously, lint1 allowed integer constants such as 0 and 1 to be used
as bool constants. This was only half-baked since after fixing all
error messages from that strict mode, there may still be integer
literals in the code that should be replaced with true or false. This
would stop a migration from int to bool in the middle, leaving
inconsistent code around.

To find the remaining type inconsistencies, treat integers and bool as
completely incompatible, even for compile time constants.


# 1.1 14-Jan-2021 rillig

lint: add tests for newly added messages for strict bool mode


# 1.4 17-Jun-2022 rillig

tests/lint: add more details to tests from msg_300 until msg_343


Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
# 1.3 05-Apr-2021 rillig

tests/lint: one comment per expected diagnostic

This makes it possible to check for diagnostics that contain commas.


# 1.2 16-Jan-2021 rillig

lint: in strict bool mode, integer constants do not have type bool

Previously, lint1 allowed integer constants such as 0 and 1 to be used
as bool constants. This was only half-baked since after fixing all
error messages from that strict mode, there may still be integer
literals in the code that should be replaced with true or false. This
would stop a migration from int to bool in the middle, leaving
inconsistent code around.

To find the remaining type inconsistencies, treat integers and bool as
completely incompatible, even for compile time constants.


# 1.1 14-Jan-2021 rillig

lint: add tests for newly added messages for strict bool mode


# 1.3 05-Apr-2021 rillig

tests/lint: one comment per expected diagnostic

This makes it possible to check for diagnostics that contain commas.


# 1.2 16-Jan-2021 rillig

lint: in strict bool mode, integer constants do not have type bool

Previously, lint1 allowed integer constants such as 0 and 1 to be used
as bool constants. This was only half-baked since after fixing all
error messages from that strict mode, there may still be integer
literals in the code that should be replaced with true or false. This
would stop a migration from int to bool in the middle, leaving
inconsistent code around.

To find the remaining type inconsistencies, treat integers and bool as
completely incompatible, even for compile time constants.


# 1.1 14-Jan-2021 rillig

lint: add tests for newly added messages for strict bool mode