History log of /src/tests/usr.bin/xlint/lint1/msg_383.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base
# 1.4 04-May-2025 rillig

branches: 1.4.4;
lint: in a parameter declaration using typedef, keep the qualifiers

While C23 6.7.7.4p6 doesn't explicitly mention this particular case of a
'const typedef', keeping the qualifiers fixes a warning in probably
legitimate code.

Seen in cvs, regex_internal.c, function 'bitset_contain'.


# 1.3 04-May-2025 rillig

tests/lint: demonstrate wrong interpretation of const pointer parameter

Seen in external/gpl2/xcvs/dist/lib/regex_internal.c:697.


# 1.2 04-May-2025 rillig

lint: add more details to message about discarding qualifiers

The name of the function (or, if not available, its type) is useful in
lines that contain more than one function call.


# 1.1 23-Nov-2024 rillig

lint: use separate message when discarding a qualifier in call