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

Lint does not provide legal advice.
 1.5  20-Feb-2025  rillig lint: mention the assignment operator in 'illegal combination'

In source lines that contain both a 'return' statement as well as a
function-like macro, such as the C11 atomics, seeing the word 'init' in
the diagnostic helps to see that the type conflict is not in the
'return' statement but instead in some initializer.

Seen in userspace-rcu/wfcqueue.h:147.
 1.4  07-Jul-2023  rillig branches: 1.4.2;
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  22-Jun-2022  rillig lint: add quotes around placeholders for the remaining messages

Reword some of the messages slightly, exchanging brevity for clarity.

Message 138 is kept as-is, as it is not yet covered by any tests.

Message 240 is kep as-is, as it is unreachable.
 1.2  06-Dec-2021  rillig lint: fix return type of GCC's __builtin_alloca

Needed for libgmp.
 1.1  06-Dec-2021  rillig tests/lint: demonstrate wrong warning for __builtin_alloca
 1.4.2.1  02-Aug-2025  perseant Sync with HEAD

RSS XML Feed