Home | History | Annotate | Download | only in lint1
History log of /src/tests/usr.bin/xlint/lint1/expr_cast.c
RevisionDateAuthorComments
 1.7  12-Apr-2025  rillig lint: s/illegal/invalid/g

Lint does not provide legal advice.
 1.6  08-Jun-2024  rillig branches: 1.6.2;
tests/lint: group tests by topic
 1.5  06-Aug-2023  rillig lint: since C99, a non-void function must return a value
 1.4  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.3  03-Aug-2021  rillig lint: add quotes around placeholder in message 214

function '%s' expects to return value
 1.2  03-Aug-2021  rillig lint: casting to a struct is not allowed in C99, only with GCC
 1.1  03-Aug-2021  rillig tests/lint: test casting a struct to another struct
 1.6.2.1  02-Aug-2025  perseant Sync with HEAD

RSS XML Feed