Home | History | Annotate | Download | only in lint1
History log of /src/tests/usr.bin/xlint/lint1/c99_bool_strict_suppressed.c
RevisionDateAuthorComments
 1.6  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.5  19-Jun-2022  rillig lint: add quotes around placeholders in 4 messages
 1.4  08-Aug-2021  rillig tests/lint: clean up accept.sh, document test for removed assertion
 1.3  05-Jul-2021  rillig tests/lint: fix check-expect.lua for empty .exp file

An absent .exp file is equivalent to an empty .exp file. In neither of
these cases must the corresponding .c file declare any expected
diagnostics.
 1.2  04-Jul-2021  rillig lint: remove outdated assertion

Since err.c 1.12 from 2000-07-06, lint allows to suppress individual
error messages. Suppressed error messages do not increment nerr.
Keeping nerr at 0 had triggered the assertion.
 1.1  04-Jul-2021  rillig tests/lint: add test for suppressing errors in strict bool mode

RSS XML Feed