Home | History | Annotate | Download | only in lint1
History log of /src/tests/usr.bin/xlint/lint1/msg_351.c
RevisionDateAuthorComments
 1.8  01-Mar-2024  rillig tests/lint: remove redundant documentation
 1.7  07-Jul-2023  rillig lint: warn about function definitions without header declaration

The existing warning was only issued for function declarations, not for
function definitions.

The interesting change in the tests is in msg_351.c. Many other tests
use non-static functions due to their syntactic brevity. In these
tests, the warning is disabled individually, to allow new functions to
be added without generating warning 351.
 1.6  07-Jul-2023  rillig tests/lint: test all combinations of {func,obj}_{decl,def}

For a non-static function definition that is not declared in a header,
lint doesn't currently warn. The previous test didn't notice this.
 1.5  28-Jun-2023  rillig tests/lint: fix preprocessor line number validation

When running the tests via ATF, the filename was an absolute filename,
while the preprocessing line in the test file uses a relative filename.
These two didn't match.
 1.4  25-Apr-2023  rillig lint: reword message for missing declaration in header

Suggested by Christos.
 1.3  22-Apr-2023  rillig lint: fix wrong warning about 'extern' temporary identifier
 1.2  22-Apr-2023  rillig tests/lint: demonstrate wrong warning about extern temporary identifier
 1.1  28-Mar-2023  rillig lint: warn about extern declarations outside headers

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

RSS XML Feed