Home | History | Annotate | Download | only in lint1
History log of /src/tests/usr.bin/xlint/lint1/msg_379.c
RevisionDateAuthorComments
 1.2  13-Nov-2024  rillig lint: add more details to 'statement not reached' message

In lib/libcompat/regexp/regexp.c, the FAIL macro expands to a compound
statement containing a function call statement and a return statement,
and the macro invocation is followed by a semicolon, forming an extra
empty statement. Which of these statements is unreachable now becomes
clear from the diagnostic, without having to inspect the preprocessed
source code.
 1.1  11-May-2024  rillig branches: 1.1.2;
lint: warn when comparing an integer to a floating point constant
 1.1.2.1  02-Aug-2025  perseant Sync with HEAD

RSS XML Feed