Module Name:src
Committed By: rillig
Date: Tue Aug 17 22:29:11 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: main1.c
Log Message:
lint: extract suppress_messages from main
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.55 -r1.56 src/usr.bi
Module Name:src
Committed By: rillig
Date: Tue Aug 17 21:19:02 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: main1.c
Log Message:
lint: sync usage message with reality
To generate a diff of this commit:
cvs rdiff -u -r1.54 -r1.55 src/usr.bin/xlint/lint1/main1.c
Plea
Module Name:src
Committed By: rillig
Date: Tue Aug 17 21:05:34 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: main1.c
Log Message:
lint: move GCC builtins into gcc_builtins
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.53 -r1.54 src/usr.bi
Module Name:src
Committed By: rillig
Date: Mon Aug 16 20:27:31 UTC 2021
Modified Files:
src/tests/usr.bin/xlint/lint1: expr_promote.c expr_promote.exp-ln
expr_promote_trad.c expr_promote_trad.exp-ln
Log Message:
tests/lint: test default argument promotion with
Module Name:src
Committed By: rillig
Date: Mon Aug 16 20:11:03 UTC 2021
Modified Files:
src/distrib/sets/lists/tests: mi
src/tests/usr.bin/xlint/lint1: Makefile msg_241.c msg_277.c msg_277.exp
Added Files:
src/tests/usr.bin/xlint/lint1: expr_promote.c expr_p
Module Name:src
Committed By: rillig
Date: Mon Aug 16 18:51:58 UTC 2021
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_123.c msg_123.exp msg_182.c
msg_182.exp msg_211.c msg_211.exp msg_241.c msg_241.exp msg_303.c
msg_303.exp msg_304.c msg_304.exp
Module Name:src
Committed By: rillig
Date: Mon Aug 16 18:51:03 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: tree.c
Log Message:
lint: remove dead code from check_bad_enum_operation
There is a single caller of that function, and it checks the exact same
condition befo
Module Name:src
Committed By: rillig
Date: Mon Aug 16 16:19:47 UTC 2021
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_115.c msg_115.exp
Log Message:
tests/lint: document history of initialization of const members
To generate a diff of this commit:
cvs rdiff -u -r1.8
Module Name:src
Committed By: rillig
Date: Mon Aug 16 06:49:57 UTC 2021
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_046.c msg_046.exp msg_260.c
msg_260.exp
src/usr.bin/xlint/lint1: decl.c err.c
Log Message:
lint: add more details to message about
Module Name:src
Committed By: rillig
Date: Mon Aug 16 06:30:43 UTC 2021
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_046.c msg_046.exp
Log Message:
tests/lint: test message for redeclared tags
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/tests/us
Module Name:src
Committed By: rillig
Date: Mon Aug 16 06:24:37 UTC 2021
Modified Files:
src/tests/usr.bin/xlint/lint1: accept.sh
Log Message:
tests/lint: remove unintended debugging output
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/tests/usr.bin/xlin
Module Name:src
Committed By: rillig
Date: Mon Aug 16 06:15:51 UTC 2021
Modified Files:
src/tests/usr.bin/xlint/lint1: accept.sh
Log Message:
tests/lint: fix check for expected message in msg tests
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/tests/usr
Module Name:src
Committed By: rillig
Date: Sun Aug 15 22:22:52 UTC 2021
Modified Files:
src/lib/libedit: readline.c
Log Message:
libedit: simplify calls to macro ADD_STRING
The lint comments CONSTCOND and LINTED were not necessary. It is
simpler to just specify what to f
Module Name:src
Committed By: rillig
Date: Sun Aug 15 22:14:45 UTC 2021
Modified Files:
src/lib/libedit: readline.c
Log Message:
readline: fix lint warning about effective unconst cast
Calling strchr to avoid the syntactical unconst cast is not necessary
here. A simple p
Module Name:src
Committed By: rillig
Date: Sun Aug 15 21:51:56 UTC 2021
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_193.c msg_193.exp
Log Message:
tests/lint: correct interpretation of NOTREACHED
The branch is unconditionally taken, therefore any later code is
unre
Module Name:src
Committed By: rillig
Date: Sun Aug 15 21:21:14 UTC 2021
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_193.c msg_193.exp
Log Message:
tests/lint: test how NOTREACHED affects the unreachable warning
Inspired by lib/libedit/readline.c 1.159 from 2021-08-
Module Name:src
Committed By: rillig
Date: Sun Aug 15 15:12:36 UTC 2021
Modified Files:
src/lib/libcurses: get_wstr.c getstr.c in_wchstr.c inchstr.c instr.c
inwstr.c
Log Message:
libcurses: fix usage of __warn_references
Since that macro can expand to an empty
Module Name:src
Committed By: rillig
Date: Sun Aug 15 14:26:40 UTC 2021
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_346.c msg_346.exp
src/usr.bin/xlint/lint1: tree.c
Log Message:
lint: extend check for unconst functions
The functions memchr, strpbrk, strrch
Module Name:src
Committed By: rillig
Date: Sun Aug 15 14:00:27 UTC 2021
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_346.c msg_346.exp
Log Message:
tests/lint: add tests for more unconst functions
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/test
Module Name:src
Committed By: rillig
Date: Sun Aug 15 13:32:44 UTC 2021
Modified Files:
src/crypto/external/bsd/openssl/lib/libcrypto: bn.inc
Log Message:
libcrypto: suppress irrelevant lint warnings
The conversion from 'unsigned long' to 'int' in line 805 is due to the
l
Module Name:src
Committed By: rillig
Date: Sun Aug 15 13:08:20 UTC 2021
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_117.c msg_117.exp
src/usr.bin/xlint/lint1: tree.c
Log Message:
lint: fix wrong warning about 'unsigned char >> constant'
To generate a diff
Module Name:src
Committed By: rillig
Date: Sun Aug 15 13:02:20 UTC 2021
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_117.c msg_117.exp
Log Message:
tests/lint: demonstrate wrong warning about signed '>>'
Seen in libdes/ostr2key.c(81).
To generate a diff of this co
Module Name:src
Committed By: rillig
Date: Sun Aug 15 12:58:02 UTC 2021
Modified Files:
src/crypto/external/bsd/openssl/lib/libdes: Makefile
Log Message:
libdes: suppress some selected lint warnings
The type widths are handled carefully, so even if there is some
conversio
Module Name:src
Committed By: rillig
Date: Sun Aug 15 12:41:40 UTC 2021
Modified Files:
src/external/bsd/jemalloc/lib: Makefile.inc
Log Message:
jemalloc: suppress two irrelevant lint warnings
To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/external/bsd
Module Name:src
Committed By: rillig
Date: Sat Aug 14 14:43:30 UTC 2021
Modified Files:
src/usr.bin/make: arch.c
Log Message:
make: add ARGSUSED for lint
To generate a diff of this commit:
cvs rdiff -u -r1.201 -r1.202 src/usr.bin/make/arch.c
Please note that diffs are n
Module Name:src
Committed By: rillig
Date: Sat Aug 14 14:25:51 UTC 2021
Modified Files:
src/tests/usr.bin/xlint/lint2: msg_008.exp msg_008.ln msg_009.exp
msg_009.ln msg_010.exp msg_010.ln
Log Message:
tests/lint: add tests for messages 8, 9 and 10
To generate
Module Name:src
Committed By: rillig
Date: Sat Aug 14 13:39:43 UTC 2021
Modified Files:
src/usr.bin/make: parse.c
Log Message:
make: fix spelling of CVS and RCS in error message
To generate a diff of this commit:
cvs rdiff -u -r1.562 -r1.563 src/usr.bin/make/parse.c
Ple
Module Name:src
Committed By: rillig
Date: Sat Aug 14 13:37:56 UTC 2021
Modified Files:
src/usr.bin/make: parse.c
Log Message:
make: rename ParseMark to be more expressive
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.561 -r1.562 src/usr.bin/
Module Name:src
Committed By: rillig
Date: Sat Aug 14 13:32:12 UTC 2021
Modified Files:
src/usr.bin/make: main.c nonints.h parse.c
Log Message:
make: rename variable and function for handling parse errors
The word 'fatals' was an unnecessary abbreviation.
No functional c
Module Name:src
Committed By: rillig
Date: Sat Aug 14 13:26:07 UTC 2021
Modified Files:
src/usr.bin/make: arch.c
Log Message:
make: extract RanlibOODate into separate function
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.200 -r1.201 src/usr.
Module Name:src
Committed By: rillig
Date: Sat Aug 14 13:11:33 UTC 2021
Modified Files:
src/usr.bin/make: var.c
Log Message:
make: remove workaround for initialization bug in lint
The bug has been fixed in init.c 1.208 from 2021-08-14.
To generate a diff of this commit:
Module Name:src
Committed By: rillig
Date: Sat Aug 14 13:04:00 UTC 2021
Modified Files:
src/usr.bin/make: meta.c
Log Message:
make: fix lint warning about strchr removing 'const'
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.181 -r1.182 src/u
Module Name:src
Committed By: rillig
Date: Sat Aug 14 13:00:55 UTC 2021
Modified Files:
src/tests/usr.bin/xlint/lint1: d_init_array_using_string.c
d_init_array_using_string.exp d_long_double_int.exp msg_124.c
msg_124.exp msg_184.c msg_184.exp
Module Name:src
Committed By: rillig
Date: Sat Aug 14 12:46:24 UTC 2021
Modified Files:
src/tests/usr.bin/xlint/lint1: d_c99_bool_strict.exp
d_c99_bool_strict_syshdr.exp d_init_array_using_string.exp
msg_115.c msg_115.exp msg_124.exp msg_164.c msg_16
Module Name:src
Committed By: rillig
Date: Wed Aug 11 20:48:16 UTC 2021
Modified Files:
src/usr.bin/mkdep: findcc.c
Log Message:
mkdep: document possible undefined behavior
If findcc is called with a constant string, as its prototype suggests,
the process crashes with a s
Module Name:src
Committed By: rillig
Date: Wed Aug 11 20:42:26 UTC 2021
Modified Files:
src/distrib/sets/lists/tests: mi
src/tests/usr.bin/mkdep: Makefile
Added Files:
src/tests/usr.bin/mkdep: h_findcc.c t_findcc.sh
Log Message:
tests/mkdep: test findcc
Th
Module Name:src
Committed By: rillig
Date: Wed Aug 11 05:37:45 UTC 2021
Modified Files:
src/usr.bin/xlint/lint2: main2.c
Log Message:
lint: add reminder to sort the output of lint2
To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/usr.bin/xlint/lint2/main
Module Name:src
Committed By: rillig
Date: Wed Aug 11 05:23:05 UTC 2021
Modified Files:
src/lib/libpam/libpam: Makefile
Log Message:
libpam: clean up LINTFLAGS
Warning 346 is new, the other suppressions are not needed anymore.
To generate a diff of this commit:
cvs rdif
Module Name:src
Committed By: rillig
Date: Wed Aug 11 05:19:33 UTC 2021
Modified Files:
src/tests/usr.bin/xlint/lint1: gcc_attribute_var.c
gcc_attribute_var.exp
src/usr.bin/xlint/lint1: cgram.y
Log Message:
lint: allow GCC __attribute__ after array brac
Module Name:src
Committed By: rillig
Date: Wed Aug 11 05:08:35 UTC 2021
Modified Files:
src/tests/usr.bin/xlint/lint1: gcc_attribute_var.c
gcc_attribute_var.exp
Log Message:
tests/lint: demonstrate wrong 'syntax error' for unused argument
Seen in pam_chroot.c:
Module Name:src
Committed By: rillig
Date: Tue Aug 10 20:43:13 UTC 2021
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_115.c msg_115.exp
src/usr.bin/xlint/lint1: decl.c init.c tree.c
Log Message:
lint: fix 3 of the 4 wrong messages about lvalue in initial assig
Module Name:src
Committed By: rillig
Date: Tue Aug 10 19:52:14 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: decl.c
Log Message:
lint: remove redundant test for negative bit-field size
A bit-field can never have negative size. Its type is an unsigned
integer.
Strang
Module Name:src
Committed By: rillig
Date: Tue Aug 10 17:57:16 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: mem1.c
Log Message:
lint: remove redundant function prototypes
To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 src/usr.bin/xlint/lint1/mem1.c
P
Module Name:src
Committed By: rillig
Date: Tue Aug 10 17:31:44 UTC 2021
Modified Files:
src/usr.bin/xlint/common: lint.h
src/usr.bin/xlint/lint1: mem1.c
src/usr.bin/xlint/lint2: externs2.h
Log Message:
lint: clean up comments
To generate a diff of this co
Module Name:src
Committed By: rillig
Date: Tue Aug 10 16:59:28 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: ops.def
Log Message:
lint: fix documentation of FARG and PUSH
To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/usr.bin/xlint/lint1/ops.def
P
Module Name:src
Committed By: rillig
Date: Tue Aug 10 07:02:00 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: ops.def
Log Message:
lint: document the difference between FARG and PUSH
To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/usr.bin/xlint/lint1
Module Name:src
Committed By: rillig
Date: Tue Aug 10 06:31:16 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: ops.def
Log Message:
lint: document operator properties directly at the definition
To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/usr.bin/x
Module Name:src
Committed By: rillig
Date: Mon Aug 9 21:27:20 UTC 2021
Modified Files:
src/usr.bin/xlint/xlint: xlint.c
Log Message:
lint: remove commented-out preprocessor options
These have been commented out since 2002.
To generate a diff of this commit:
cvs rdiff -
Module Name:src
Committed By: rillig
Date: Mon Aug 9 20:52:24 UTC 2021
Modified Files:
src/usr.bin/xlint/xlint: pathnames.h
Log Message:
lint: remove unused pathname
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/usr.bin/xlint/xlint/pathnames.h
Please
Module Name:src
Committed By: rillig
Date: Mon Aug 9 20:07:24 UTC 2021
Modified Files:
src/distrib/sets/lists/tests: mi
src/tests/usr.bin/xlint/lint1: Makefile
src/usr.bin/xlint/lint1: err.c tree.c
Added Files:
src/tests/usr.bin/xlint/lint1: msg_346
Module Name:src
Committed By: rillig
Date: Sun Aug 8 16:35:15 UTC 2021
Modified Files:
src/tests/usr.bin/xlint/lint2: Makefile t_lint2.sh
Log Message:
tests/lint: include but don't run read_lp64 on 32-bit platforms
The lint1 tests are all in the machine-independent file
Module Name:src
Committed By: rillig
Date: Sun Aug 8 16:19:18 UTC 2021
Modified Files:
src/usr.bin/xlint/xlint: xlint.c
Log Message:
lint: group global variables by the subprocess
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.70 -r1.71 src/u
Module Name:src
Committed By: rillig
Date: Sun Aug 8 16:11:08 UTC 2021
Modified Files:
src/usr.bin/xlint/xlint: xlint.c
Log Message:
lint: rename list_free to list_clear
The previous name suggested that the function would free the list
itself, which it doesn't.
To gene
Module Name:src
Committed By: rillig
Date: Sun Aug 8 15:59:32 UTC 2021
Modified Files:
src/usr.bin/xlint/xlint: lint.1
Log Message:
lint: update and proofread manual page
To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 src/usr.bin/xlint/xlint/lint.1
Pleas
Module Name:src
Committed By: rillig
Date: Sun Aug 8 15:29:24 UTC 2021
Modified Files:
src/usr.bin/xlint/xlint: lint.1 xlint.c
Log Message:
lint: remove dead code for reading from stdin
Since xlint.c 1.27 from 2002-01-31, it has not been possible to read
from stdin anymo
Module Name:src
Committed By: rillig
Date: Sun Aug 8 15:06:44 UTC 2021
Modified Files:
src/usr.bin/xlint/xlint: xlint.c
Log Message:
lint: inline list_add_defines
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.67 -r1.68 src/usr.bin/xlint/xlin
Module Name:src
Committed By: rillig
Date: Sun Aug 8 15:03:48 UTC 2021
Modified Files:
src/usr.bin/xlint/xlint: xlint.c
Log Message:
lint: rename functions for handling string lists
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.66 -r1.67 src
Module Name:src
Committed By: rillig
Date: Sun Aug 8 14:05:33 UTC 2021
Modified Files:
src/usr.bin/xlint/xlint: xlint.c
Log Message:
lint: make data flow in findlibs simpler
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.65 -r1.66 src/usr.bin
Module Name:src
Committed By: rillig
Date: Sun Aug 8 13:34:57 UTC 2021
Modified Files:
src/usr.bin/xlint/xlint: xlint.c
Log Message:
lint: make memory management in xlint simpler
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.64 -r1.65 src/us
Module Name:src
Committed By: rillig
Date: Sun Aug 8 13:22:22 UTC 2021
Modified Files:
src/tests/usr.bin/xlint/lint2: Makefile
Log Message:
tests/lint: mips64 is not a 64-bit platform
See usr.bin/xlint/arch/mips64/targparam.h.
To generate a diff of this commit:
cvs rdi
Module Name:src
Committed By: rillig
Date: Sun Aug 8 13:19:51 UTC 2021
Modified Files:
src/tests/usr.bin/xlint/lint1: accept.sh c99_bool_strict_suppressed.c
Log Message:
tests/lint: clean up accept.sh, document test for removed assertion
To generate a diff of this commi
Module Name:src
Committed By: rillig
Date: Sun Aug 8 12:00:30 UTC 2021
Modified Files:
src/usr.bin/make: var.c
Log Message:
make: remove redundant initialization in ApplyModifier_Order
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.945 -r1.94
Module Name:src
Committed By: rillig
Date: Sun Aug 8 11:56:36 UTC 2021
Modified Files:
src/usr.bin/xlint/lint2: Makefile chk.c read.c
Log Message:
lint: force strict bool mode
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/usr.b
Module Name:src
Committed By: rillig
Date: Sun Aug 8 11:07:20 UTC 2021
Modified Files:
src/tests/usr.bin/xlint/lint1: emit.c emit.exp-ln
src/tests/usr.bin/xlint/lint2: read_printf.ln
Log Message:
tests/lint: test passing of printf-like strings between lint1 and li
Module Name:src
Committed By: rillig
Date: Sun Aug 8 10:41:34 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: emit1.c
Log Message:
lint: condense code for writing the .ln files
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 src/us
Module Name:src
Committed By: rillig
Date: Sun Aug 8 00:02:03 UTC 2021
Modified Files:
src/distrib/sets/lists/tests: mi
src/tests/usr.bin/xlint/lint2: Makefile t_lint2.sh
Log Message:
tests/lint: make list of tests simpler
Since the file /usr/tests/usr.bin/xlint/
Module Name:src
Committed By: rillig
Date: Sat Aug 7 23:52:32 UTC 2021
Modified Files:
src/distrib/sets/lists/tests: mi
src/tests/usr.bin/xlint/lint2: Makefile t_lint2.sh
Added Files:
src/tests/usr.bin/xlint/lint2: read_lp64.exp read_lp64.ln
rea
Module Name:src
Committed By: rillig
Date: Sat Aug 7 21:24:14 UTC 2021
Modified Files:
src/distrib/sets/lists/tests: mi
src/tests/usr.bin/xlint/lint2: Makefile t_lint2.sh
Added Files:
src/tests/usr.bin/xlint/lint2: read.exp read.ln
Log Message:
tests/lint:
Module Name:src
Committed By: rillig
Date: Sat Aug 7 19:07:03 UTC 2021
Modified Files:
src/tests/usr.bin/xlint/lint2: msg_001.exp msg_001.ln msg_003.exp
msg_003.ln msg_004.exp msg_004.ln msg_005.exp msg_005.ln
msg_006.exp msg_006.ln msg_011.exp msg_
Module Name:src
Committed By: rillig
Date: Sat Aug 7 17:38:41 UTC 2021
Modified Files:
src/usr.bin/xlint: Makefile.inc
src/usr.bin/xlint/lint1: Makefile
Log Message:
lint: clean gcov files for lint2 and xlint as well
To generate a diff of this commit:
cvs rdiff
Module Name:src
Committed By: rillig
Date: Fri Aug 6 16:21:00 UTC 2021
Modified Files:
src/tests/usr.bin/xlint/lint2: msg_001.exp msg_001.ln msg_002.exp
msg_002.ln
Log Message:
tests/lint: add tests for declared but unused variables
To generate a diff of thi
Module Name:src
Committed By: rillig
Date: Thu Aug 5 22:36:08 UTC 2021
Modified Files:
src/distrib/sets/lists/tests: mi
src/etc/mtree: NetBSD.dist.tests
src/tests/usr.bin/xlint: Makefile
Added Files:
src/tests/usr.bin/xlint/lint2: Makefile msg_000.e
Module Name:src
Committed By: rillig
Date: Thu Aug 5 06:54:16 UTC 2021
Modified Files:
src/usr.bin/xlint/lint2: read.c
Log Message:
lint: fix type of local variable in inpqstrg
Noted by Clang-Tidy.
To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 src/usr.b
Module Name:src
Committed By: rillig
Date: Thu Aug 5 06:45:37 UTC 2021
Modified Files:
src/usr.bin/xlint/lint2: read.c
Log Message:
lint: fix handling of __int128_t/__uint128_t in lint2
Previously, lint exited with "bad type: J u".
To generate a diff of this commit:
cv
Module Name:src
Committed By: rillig
Date: Thu Aug 5 06:34:43 UTC 2021
Modified Files:
src/distrib/sets/lists/tests: mi
src/tests/usr.bin/xlint/lint1: Makefile accept.sh
Added Files:
src/tests/usr.bin/xlint/lint1: emit_lp64.c emit_lp64.exp-ln
Log Message:
Module Name:src
Committed By: rillig
Date: Tue Aug 3 21:18:24 UTC 2021
Modified Files:
src/tests/usr.bin/xlint/lint1: gcc_cast_union.c gcc_cast_union.exp
src/usr.bin/xlint/lint1: decl.c
Log Message:
lint: in strict enum mode, error out on enum type mismatch in uni
Module Name:src
Committed By: rillig
Date: Tue Aug 3 21:09:26 UTC 2021
Modified Files:
src/tests/usr.bin/xlint/lint1: gcc_cast_union.c gcc_cast_union.exp
src/usr.bin/xlint/lint1: tree.c
Log Message:
lint: merge almost duplicate code from 'sametype' into 'eqtype'
Module Name:src
Committed By: rillig
Date: Tue Aug 3 20:57:06 UTC 2021
Modified Files:
src/tests/usr.bin/xlint/lint1: d_c99_union_cast.c d_c99_union_cast.exp
msg_328.c msg_328.exp msg_329.c msg_329.exp
src/usr.bin/xlint/lint1: err.c tree.c
Log Message:
Module Name:src
Committed By: rillig
Date: Tue Aug 3 20:46:10 UTC 2021
Modified Files:
src/tests/usr.bin/xlint/lint1: d_c99_union_cast.c d_c99_union_cast.exp
Log Message:
tests/lint: prepare non-GCC test for union casts
To generate a diff of this commit:
cvs rdiff -u -r
Module Name:src
Committed By: rillig
Date: Tue Aug 3 20:34:23 UTC 2021
Modified Files:
src/distrib/sets/lists/tests: mi
src/tests/usr.bin/xlint/lint1: Makefile d_c99_union_cast.c
Added Files:
src/tests/usr.bin/xlint/lint1: gcc_cast_union.c gcc_cast_union.ex
Module Name:src
Committed By: rillig
Date: Tue Aug 3 18:44:33 UTC 2021
Modified Files:
src/tests/usr.bin/xlint/lint1: c11_generic_expression.exp
d_c99_bool_strict_syshdr.exp d_fold_test.exp expr_cast.c
expr_cast.exp msg_096.exp msg_109.exp msg_126.e
Module Name:src
Committed By: rillig
Date: Tue Aug 3 18:38:02 UTC 2021
Modified Files:
src/tests/usr.bin/xlint/lint1: expr_cast.c expr_cast.exp msg_214.c
msg_214.exp
src/usr.bin/xlint/lint1: decl.c tree.c
Log Message:
lint: casting to a struct is not a
Module Name:src
Committed By: rillig
Date: Tue Aug 3 18:03:54 UTC 2021
Modified Files:
src/distrib/sets/lists/tests: mi
src/tests/usr.bin/xlint/lint1: Makefile
Added Files:
src/tests/usr.bin/xlint/lint1: expr_cast.c expr_cast.exp
Log Message:
tests/lint: t
Module Name:src
Committed By: rillig
Date: Tue Aug 3 17:44:59 UTC 2021
Modified Files:
src/usr.bin/xlint/common: emit.c externs.h tyname.c
src/usr.bin/xlint/lint1: tree.c
Log Message:
lint: clean up and move 'sametype'
This function is only used by lint1. That's
Module Name:src
Committed By: rillig
Date: Tue Aug 3 17:27:48 UTC 2021
Modified Files:
src/usr.bin/xlint/common: param.h
Log Message:
lint: reduce number of negations in preprocessor condition
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.8
Module Name:src
Committed By: rillig
Date: Tue Aug 3 17:20:02 UTC 2021
Modified Files:
src/usr.bin/xlint/common: mem.c
Log Message:
lint: make memory management code easier to read
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/
Module Name:src
Committed By: rillig
Date: Tue Aug 3 04:46:49 UTC 2021
Modified Files:
src/usr.bin/make/unit-tests: varmod-order-numeric.mk
varmod-order-reverse.mk varmod-order-shuffle.mk
varmod-order-string.mk varmod-order.exp varmod-order.mk
Log
Module Name:src
Committed By: rillig
Date: Mon Aug 2 20:58:39 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: oper.c
Log Message:
lint: expand abbreviations in definitions of operator properties
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r
Module Name:src
Committed By: rillig
Date: Sun Aug 1 21:12:32 UTC 2021
Modified Files:
src/tests/usr.bin/xlint/lint1: c11_generic_expression.c
Log Message:
tests/lint: fix test c11_generic_expression on ILP32
These platforms don't provide __uint128_t, at least not in lin
Module Name:src
Committed By: rillig
Date: Sun Aug 1 19:18:10 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: cgram.y
Log Message:
lint: clean up debug logging in the C grammar
To generate a diff of this commit:
cvs rdiff -u -r1.353 -r1.354 src/usr.bin/xlint/lint1/cgr
Module Name:src
Committed By: rillig
Date: Sun Aug 1 19:11:54 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: debug.c externs1.h main1.c tree.c
Log Message:
lint: merge duplicate debugging code
The functions 'debug_node' and 'display_expression' were similar enough
to
Module Name:src
Committed By: rillig
Date: Sun Aug 1 18:37:29 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: decl.c externs1.h main1.c tree.c
Log Message:
lint: remove option -d, clean up debug logging
The command line option -d was not used by /usr/bin/lint, and it o
Module Name:src
Committed By: rillig
Date: Sun Aug 1 18:13:54 UTC 2021
Modified Files:
src/usr.bin/xlint/common: externs.h mem.c
src/usr.bin/xlint/xlint: xlint.c
Log Message:
lint: make xasprintf simpler
No functional change.
To generate a diff of this commit:
Module Name:src
Committed By: rillig
Date: Sun Aug 1 18:07:35 UTC 2021
Modified Files:
src/usr.bin/xlint/common: externs.h mem.c
src/usr.bin/xlint/lint1: mem1.c
Log Message:
lint: unexport nomem
No functional change.
To generate a diff of this commit:
cvs rdiff
Module Name:src
Committed By: rillig
Date: Sun Aug 1 17:59:47 UTC 2021
Modified Files:
src/usr.bin/xlint/common: externs.h mem.c
src/usr.bin/xlint/lint1: mem1.c
src/usr.bin/xlint/lint2: mem2.c
Log Message:
lint: remove xmapalloc
Just trust the standard ma
Module Name:src
Committed By: rillig
Date: Sun Aug 1 16:29:28 UTC 2021
Modified Files:
src/distrib/sets/lists/tests: mi
src/tests/usr.bin/xlint/lint1: Makefile
Added Files:
src/tests/usr.bin/xlint/lint1: expr_binary_trad.c expr_binary_trad.exp
Log Message:
Module Name:src
Committed By: rillig
Date: Sun Aug 1 14:51:41 UTC 2021
Modified Files:
src/tests/usr.bin/xlint/lint1: expr_binary.c expr_binary.exp
Log Message:
tests/lint: re-add the test for __uint128_t
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/t
Module Name:src
Committed By: rillig
Date: Sun Aug 1 14:45:40 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: tree.c
Log Message:
lint: remove unreachable code from usual arithmetic conversions
To generate a diff of this commit:
cvs rdiff -u -r1.323 -r1.324 src/usr.bi
Module Name:src
Committed By: rillig
Date: Sun Aug 1 14:42:21 UTC 2021
Modified Files:
src/tests/usr.bin/xlint/lint1: expr_binary.c expr_binary.exp
Log Message:
tests/lint: fully cover the usual arithmetic conversions
To generate a diff of this commit:
cvs rdiff -u -r1.
Module Name:src
Committed By: rillig
Date: Sun Aug 1 13:49:17 UTC 2021
Modified Files:
src/tests/usr.bin/xlint/lint1: expr_binary.c expr_binary.exp
src/usr.bin/xlint/lint1: tree.c
Log Message:
lint: fix usual arithmetic conversions for 128-bit integer types
To g
1 - 100 of 4301 matches
Mail list logo