OpenGrok
Cross Reference: expr_range.c
xref
: /
src
/
tests
/
usr.bin
/
xlint
/
lint1
/
expr_range.c
Home
|
History
|
Annotate
|
Download
|
only in
lint1
History log of
/src/tests/usr.bin/xlint/lint1/expr_range.c
Revision
Date
Author
Comments
1.6
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.5
28-Mar-2023
rillig
branches: 1.5.2;
lint: warn about extern declarations outside headers
https://mail-index.netbsd.org/tech-userlevel/2023/03/15/msg013727.html
1.4
15-Jan-2022
rillig
tests/lint: expect complete messages in feature tests
Previously, the tests contained many comments like /* expect: 123 */,
which were useless to a casual reader since nobody is expected to learn
lint's message IDs by heart. Replace these with the complete
diagnostics, to show what lint is complaining about.
The tests named msg_*.c have been left unmodified since they mention the
full message text in their header comment.
No functional change.
1.3
05-Jul-2021
rillig
tests/lint: fix typos in comment in expr_range
1.2
15-May-2021
rillig
branches: 1.2.2;
lint: warn about unreachable case labels for '&&'
See octeon_gmxreg.h 1.2 from 2020-06-18 for an example, where
RXN_RX_INBND_SPEED was cleaned up without adjusting the corresponding
code in octeon_gmx.c.
1.1
14-May-2021
rillig
tests/lint: test bitwise mismatch in switch statement
1.2.2.2
31-May-2021
cjep
sync with head
1.2.2.1
15-May-2021
cjep
file expr_range.c was added on branch cjep_staticlib_x on 2021-05-31 22:15:24 +0000
1.5.2.1
02-Aug-2025
perseant
Sync with HEAD
Indexes created Sat Oct 04 22:09:45 GMT 2025