CVS commit: src/usr.bin/xlint/lint1

2025-03-11 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Mar 11 22:12:35 UTC 2025 Modified Files: src/usr.bin/xlint/lint1: tree.c Log Message: lint: fix saturated multiplication in integer constraints check After the change from ui_max_value to si_max_value in tree.c 1.675 from 202

CVS commit: src/usr.bin/xlint/lint1

2025-03-11 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Mar 11 22:12:35 UTC 2025 Modified Files: src/usr.bin/xlint/lint1: tree.c Log Message: lint: fix saturated multiplication in integer constraints check After the change from ui_max_value to si_max_value in tree.c 1.675 from 202

CVS commit: src/usr.bin/xlint/lint1

2025-03-05 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Mar 5 22:51:10 UTC 2025 Modified Files: src/usr.bin/xlint/lint1: cgram.y Log Message: lint: revert accidental commit To generate a diff of this commit: cvs rdiff -u -r1.520 -r1.521 src/usr.bin/xlint/lint1/cgram.y Please no

CVS commit: src/usr.bin/xlint/lint1

2025-03-05 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Mar 5 22:51:10 UTC 2025 Modified Files: src/usr.bin/xlint/lint1: cgram.y Log Message: lint: revert accidental commit To generate a diff of this commit: cvs rdiff -u -r1.520 -r1.521 src/usr.bin/xlint/lint1/cgram.y Please no

CVS commit: src/usr.bin/xlint/lint1

2025-02-24 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Feb 24 19:42:14 UTC 2025 Modified Files: src/usr.bin/xlint/lint1: cgram.y Log Message: lint: add debug logging for function calls in the grammar To generate a diff of this commit: cvs rdiff -u -r1.518 -r1.519 src/usr.bin/xli

CVS commit: src/usr.bin/xlint/lint1

2025-02-24 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Feb 24 19:42:14 UTC 2025 Modified Files: src/usr.bin/xlint/lint1: cgram.y Log Message: lint: add debug logging for function calls in the grammar To generate a diff of this commit: cvs rdiff -u -r1.518 -r1.519 src/usr.bin/xli

CVS commit: src/usr.bin/xlint/lint1

2025-01-04 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 5 06:58:47 UTC 2025 Modified Files: src/usr.bin/xlint/lint1: tree.c Log Message: lint: clean up integer constraints Since ic_con already handles conversions (and casts), there is no need to unwrap the conversions (but no

CVS commit: src/usr.bin/xlint/lint1

2025-01-04 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 5 06:58:47 UTC 2025 Modified Files: src/usr.bin/xlint/lint1: tree.c Log Message: lint: clean up integer constraints Since ic_con already handles conversions (and casts), there is no need to unwrap the conversions (but no

CVS commit: src/usr.bin/xlint/lint1

2024-11-28 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Nov 29 06:57:43 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: decl.c err.c externs1.h func.c lex.c lint1.h tree.c Log Message: lint: remove premature optimization for non-query scenarios To generate a diff of

CVS commit: src/usr.bin/xlint/lint1

2024-11-28 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Nov 29 06:57:43 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: decl.c err.c externs1.h func.c lex.c lint1.h tree.c Log Message: lint: remove premature optimization for non-query scenarios To generate a diff of

CVS commit: src/usr.bin/xlint/lint1

2024-10-11 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Oct 11 20:45:15 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: tree.c Log Message: lint: sort integer constraint functions and branches No functional change. To generate a diff of this commit: cvs rdiff -u -r1.654 -r1.65

CVS commit: src/usr.bin/xlint/lint1

2024-10-11 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Oct 11 20:45:15 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: tree.c Log Message: lint: sort integer constraint functions and branches No functional change. To generate a diff of this commit: cvs rdiff -u -r1.654 -r1.65

CVS commit: src/usr.bin/xlint/lint1

2024-10-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Oct 10 05:01:03 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: tree.c Log Message: lint: reduce debug logging for possible loss of accuracy When checking whether a type can represent an expression, only do the debug loggin

CVS commit: src/usr.bin/xlint/lint1

2024-10-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Oct 10 05:01:03 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: tree.c Log Message: lint: reduce debug logging for possible loss of accuracy When checking whether a type can represent an expression, only do the debug loggin

CVS commit: src/usr.bin/xlint/lint1

2024-09-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Sep 29 13:16:57 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: err.c Log Message: lint: only skip assertion failure in fuzzing mode Skipping the assertion message after seeing a syntax error in the parser was surprising, a

CVS commit: src/usr.bin/xlint/lint1

2024-09-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Sep 29 13:16:57 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: err.c Log Message: lint: only skip assertion failure in fuzzing mode Skipping the assertion message after seeing a syntax error in the parser was surprising, a

CVS commit: src/usr.bin/xlint/lint1

2024-09-24 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Sep 24 19:58:06 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: debug.c externs1.h main1.c Log Message: lint: exclude the GCC builtins from debug logging Their source code is parsed for simplicity, and since the text is fix

CVS commit: src/usr.bin/xlint/lint1

2024-09-24 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Sep 24 19:58:06 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: debug.c externs1.h main1.c Log Message: lint: exclude the GCC builtins from debug logging Their source code is parsed for simplicity, and since the text is fix

CVS commit: src/usr.bin/xlint/lint1

2024-09-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Sep 4 04:15:30 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: decl.c externs1.h Log Message: lint: clean up checks for declarations To generate a diff of this commit: cvs rdiff -u -r1.403 -r1.404 src/usr.bin/xlint/lint1/

CVS commit: src/usr.bin/xlint/lint1

2024-09-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Sep 4 04:15:30 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: decl.c externs1.h Log Message: lint: clean up checks for declarations To generate a diff of this commit: cvs rdiff -u -r1.403 -r1.404 src/usr.bin/xlint/lint1/

CVS commit: src/usr.bin/xlint/lint1

2024-08-18 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Aug 19 04:47:51 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: tree.c Log Message: lint: remove unused integer constraint The assignment in ic_cond was wrong, it should have been '&' instead of '|', but as long as '~' is n

CVS commit: src/usr.bin/xlint/lint1

2024-08-18 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Aug 19 04:47:51 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: tree.c Log Message: lint: remove unused integer constraint The assignment in ic_cond was wrong, it should have been '&' instead of '|', but as long as '~' is n

CVS commit: src/usr.bin/xlint/lint1

2024-06-08 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jun 8 20:47:00 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: makeman Log Message: lint.7: abbreviate %lld to %d in the list of messages To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/usr.bin/xlint/lin

CVS commit: src/usr.bin/xlint/lint1

2024-06-08 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jun 8 20:47:00 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: makeman Log Message: lint.7: abbreviate %lld to %d in the list of messages To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/usr.bin/xlint/lin

CVS commit: src/usr.bin/xlint/lint1

2024-05-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun May 12 12:32:39 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: ckbool.c Log Message: lint: condense code for strict bool mode To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32 src/usr.bin/xlint/lint1/ckbool.c

CVS commit: src/usr.bin/xlint/lint1

2024-05-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun May 12 12:32:39 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: ckbool.c Log Message: lint: condense code for strict bool mode To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32 src/usr.bin/xlint/lint1/ckbool.c

CVS commit: src/usr.bin/xlint/lint1

2024-05-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun May 12 09:07:41 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: cgram.y lex.c tree.c Log Message: lint: don't call memcpy with null pointer Even copying 0 bytes from a null pointer invokes undefined behavior. To generate

CVS commit: src/usr.bin/xlint/lint1

2024-05-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun May 12 09:07:41 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: cgram.y lex.c tree.c Log Message: lint: don't call memcpy with null pointer Even copying 0 bytes from a null pointer invokes undefined behavior. To generate

CVS commit: src/usr.bin/xlint/lint1

2024-05-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun May 12 08:48:36 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: cgram.y externs1.h lex.c scan.l Log Message: lint: move code for parsing balanced token sequences to lex.c To access yytext from lex.c, the lexer needs to be i

CVS commit: src/usr.bin/xlint/lint1

2024-05-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun May 12 08:48:36 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: cgram.y externs1.h lex.c scan.l Log Message: lint: move code for parsing balanced token sequences to lex.c To access yytext from lex.c, the lexer needs to be i

CVS commit: src/usr.bin/xlint/lint1

2024-05-11 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat May 11 16:58:59 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: cgram.y Log Message: lint: clean up grammar rule name for 'type_specifier' To generate a diff of this commit: cvs rdiff -u -r1.500 -r1.501 src/usr.bin/xlint/l

CVS commit: src/usr.bin/xlint/lint1

2024-05-11 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat May 11 16:58:59 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: cgram.y Log Message: lint: clean up grammar rule name for 'type_specifier' To generate a diff of this commit: cvs rdiff -u -r1.500 -r1.501 src/usr.bin/xlint/l

CVS commit: src/usr.bin/xlint/lint1

2024-05-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri May 10 21:43:40 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: tree.c Log Message: lint: clean up conversion from floating point constant To generate a diff of this commit: cvs rdiff -u -r1.640 -r1.641 src/usr.bin/xlint/l

CVS commit: src/usr.bin/xlint/lint1

2024-05-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri May 10 21:43:40 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: tree.c Log Message: lint: clean up conversion from floating point constant To generate a diff of this commit: cvs rdiff -u -r1.640 -r1.641 src/usr.bin/xlint/l

CVS commit: src/usr.bin/xlint/lint1

2024-05-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu May 9 20:22:20 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: cgram.y Log Message: lint: sync grammar rule names with C11 and C23 To generate a diff of this commit: cvs rdiff -u -r1.497 -r1.498 src/usr.bin/xlint/lint1/cg

CVS commit: src/usr.bin/xlint/lint1

2024-05-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu May 9 20:22:20 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: cgram.y Log Message: lint: sync grammar rule names with C11 and C23 To generate a diff of this commit: cvs rdiff -u -r1.497 -r1.498 src/usr.bin/xlint/lint1/cg

CVS commit: src/usr.bin/xlint/lint1

2024-05-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu May 9 20:15:05 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: cgram.y Log Message: lint: sort grammar rules according to the order they appear in C23 To generate a diff of this commit: cvs rdiff -u -r1.496 -r1.497 src/us

CVS commit: src/usr.bin/xlint/lint1

2024-05-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu May 9 20:15:05 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: cgram.y Log Message: lint: sort grammar rules according to the order they appear in C23 To generate a diff of this commit: cvs rdiff -u -r1.496 -r1.497 src/us

CVS commit: src/usr.bin/xlint/lint1

2024-05-02 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri May 3 04:04:18 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: cgram.y debug.c decl.c externs1.h lint1.h tree.c Log Message: lint: measure the alignment in bytes, not bits While measuring the alignment in bits

CVS commit: src/usr.bin/xlint/lint1

2024-05-02 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri May 3 04:04:18 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: cgram.y debug.c decl.c externs1.h lint1.h tree.c Log Message: lint: measure the alignment in bytes, not bits While measuring the alignment in bits

CVS commit: src/usr.bin/xlint/lint1

2024-04-11 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Apr 12 05:44:38 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: cksnprintb.c externs1.h tree.c Log Message: lint: clean up and speed up the check for snprintb To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 s

CVS commit: src/usr.bin/xlint/lint1

2024-04-11 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Apr 12 05:44:38 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: cksnprintb.c externs1.h tree.c Log Message: lint: clean up and speed up the check for snprintb To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 s

CVS commit: src/usr.bin/xlint/lint1

2024-03-31 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Mar 31 20:28:45 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: README.md debug.c lint1.h op.h oper.c tree.c Log Message: lint: merge function call operators 'CALL' and 'ICALL' To generate a diff of this commit: cvs rdiff

CVS commit: src/usr.bin/xlint/lint1

2024-03-31 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Mar 31 20:28:45 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: README.md debug.c lint1.h op.h oper.c tree.c Log Message: lint: merge function call operators 'CALL' and 'ICALL' To generate a diff of this commit: cvs rdiff

CVS commit: src/usr.bin/xlint/lint1

2024-03-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 30 19:51:00 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: decl.c Log Message: lint: document which fields are not reset when starting a new type Setting all visible fields to their null value seemed as if the whole ob

CVS commit: src/usr.bin/xlint/lint1

2024-03-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 30 19:51:00 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: decl.c Log Message: lint: document which fields are not reset when starting a new type Setting all visible fields to their null value seemed as if the whole ob

CVS commit: src/usr.bin/xlint/lint1

2024-03-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Mar 27 21:14:09 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: cgram.y Log Message: lint: add missing assignment to $$ in grammar Byacc and Bison both provide this assignment for all actions, whether default or not, but th

CVS commit: src/usr.bin/xlint/lint1

2024-03-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Mar 27 21:14:09 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: cgram.y Log Message: lint: add missing assignment to $$ in grammar Byacc and Bison both provide this assignment for all actions, whether default or not, but th

CVS commit: src/usr.bin/xlint/lint1

2024-03-19 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Mar 19 23:19:04 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: ckctype.c ckgetopt.c debug.c emit1.c tree.c Log Message: lint: keep invalid arguments in function calls Previously, arguments of incomplete type or 'void' clea

CVS commit: src/usr.bin/xlint/lint1

2024-03-19 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Mar 19 23:19:04 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: ckctype.c ckgetopt.c debug.c emit1.c tree.c Log Message: lint: keep invalid arguments in function calls Previously, arguments of incomplete type or 'void' clea

CVS commit: src/usr.bin/xlint/lint1

2024-03-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Mar 13 06:48:49 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: cksnprintb.c Log Message: lint: trim down the check for snprintb formats To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/usr.bin/xlint/lint1

CVS commit: src/usr.bin/xlint/lint1

2024-03-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Mar 13 06:48:49 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: cksnprintb.c Log Message: lint: trim down the check for snprintb formats To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/usr.bin/xlint/lint1

CVS commit: src/usr.bin/xlint/lint1

2024-03-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Mar 10 16:27:16 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: cksnprintb.c Log Message: lint: clean up tree matcher for snprintb calls To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/usr.bin/xlint/lint1/

CVS commit: src/usr.bin/xlint/lint1

2024-03-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Mar 10 16:27:16 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: cksnprintb.c Log Message: lint: clean up tree matcher for snprintb calls To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/usr.bin/xlint/lint1/

CVS commit: src/usr.bin/xlint/lint1

2024-03-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Mar 10 14:42:04 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: tree.c Log Message: lint: clean up check for overflow in integer constants To generate a diff of this commit: cvs rdiff -u -r1.619 -r1.620 src/usr.bin/xlint/l

CVS commit: src/usr.bin/xlint/lint1

2024-03-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Mar 10 14:42:04 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: tree.c Log Message: lint: clean up check for overflow in integer constants To generate a diff of this commit: cvs rdiff -u -r1.619 -r1.620 src/usr.bin/xlint/l

CVS commit: src/usr.bin/xlint/lint1

2024-03-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Mar 10 12:50:46 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: tree.c Log Message: lint: split integer overflow check into separate functions The checks for unsigned and signed integers differ for each operator, so there's

CVS commit: src/usr.bin/xlint/lint1

2024-03-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Mar 10 12:50:46 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: tree.c Log Message: lint: split integer overflow check into separate functions The checks for unsigned and signed integers differ for each operator, so there's

CVS commit: src/usr.bin/xlint/lint1

2024-03-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Mar 10 09:24:54 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: tree.c Log Message: lint: in check for integer overflow, sort operators To generate a diff of this commit: cvs rdiff -u -r1.614 -r1.615 src/usr.bin/xlint/lint

CVS commit: src/usr.bin/xlint/lint1

2024-03-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Mar 10 09:24:54 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: tree.c Log Message: lint: in check for integer overflow, sort operators To generate a diff of this commit: cvs rdiff -u -r1.614 -r1.615 src/usr.bin/xlint/lint

CVS commit: src/usr.bin/xlint/lint1

2024-03-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 9 14:54:14 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: tree.c Log Message: lint: merge duplicate code for checking array index To generate a diff of this commit: cvs rdiff -u -r1.612 -r1.613 src/usr.bin/xlint/lint

CVS commit: src/usr.bin/xlint/lint1

2024-03-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 9 14:54:14 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: tree.c Log Message: lint: merge duplicate code for checking array index To generate a diff of this commit: cvs rdiff -u -r1.612 -r1.613 src/usr.bin/xlint/lint

CVS commit: src/usr.bin/xlint/lint1

2024-03-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 9 13:54:47 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: README.md cgram.y ckbool.c ckctype.c ckgetopt.c cksnprintb.c debug.c emit1.c func.c init.c lint1.h tree.c Log Message: lint: inline acce

CVS commit: src/usr.bin/xlint/lint1

2024-03-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 9 13:54:47 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: README.md cgram.y ckbool.c ckctype.c ckgetopt.c cksnprintb.c debug.c emit1.c func.c init.c lint1.h tree.c Log Message: lint: inline acce

CVS commit: src/usr.bin/xlint/lint1

2024-03-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 9 11:05:05 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: lint1.h Log Message: lint: clean up comments, use typedefs To generate a diff of this commit: cvs rdiff -u -r1.218 -r1.219 src/usr.bin/xlint/lint1/lint1.h Pl

CVS commit: src/usr.bin/xlint/lint1

2024-03-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 9 11:05:05 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: lint1.h Log Message: lint: clean up comments, use typedefs To generate a diff of this commit: cvs rdiff -u -r1.218 -r1.219 src/usr.bin/xlint/lint1/lint1.h Pl

CVS commit: src/usr.bin/xlint/lint1

2024-03-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 9 10:54:12 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: func.c lint1.h Log Message: lint: internally store case label values in order of appearance To generate a diff of this commit: cvs rdiff -u -r1.181 -r1.182 sr

CVS commit: src/usr.bin/xlint/lint1

2024-03-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 9 10:54:12 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: func.c lint1.h Log Message: lint: internally store case label values in order of appearance To generate a diff of this commit: cvs rdiff -u -r1.181 -r1.182 sr

CVS commit: src/usr.bin/xlint/lint1

2024-03-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 9 10:47:16 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: cksnprintb.c lint1.h tree.c Log Message: lint: remove unneeded checks for left and right operands To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8

CVS commit: src/usr.bin/xlint/lint1

2024-03-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 9 10:47:16 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: cksnprintb.c lint1.h tree.c Log Message: lint: remove unneeded checks for left and right operands To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8

CVS commit: src/usr.bin/xlint/lint1

2024-03-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 9 10:41:11 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: cgram.y decl.c externs1.h lint1.h Log Message: lint: use fewer struct keywords To generate a diff of this commit: cvs rdiff -u -r1.489 -r1.490 src/usr.bin/xli

CVS commit: src/usr.bin/xlint/lint1

2024-03-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 9 10:41:11 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: cgram.y decl.c externs1.h lint1.h Log Message: lint: use fewer struct keywords To generate a diff of this commit: cvs rdiff -u -r1.489 -r1.490 src/usr.bin/xli

CVS commit: src/usr.bin/xlint/lint1

2024-03-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Mar 1 21:52:48 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: ckgetopt.c cksnprintb.c emit1.c init.c lex.c tree.c Log Message: lint: fix misleading initializer for string iterator The field 'start' marks the s

CVS commit: src/usr.bin/xlint/lint1

2024-03-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Mar 1 21:52:48 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: ckgetopt.c cksnprintb.c emit1.c init.c lex.c tree.c Log Message: lint: fix misleading initializer for string iterator The field 'start' marks the s

CVS commit: src/usr.bin/xlint/lint1

2024-03-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Mar 1 19:40:45 UTC 2024 Added Files: src/usr.bin/xlint/lint1: cksnprintb.c Log Message: lint: test format strings from snprintb calls The functions snprintb and snprintb_m are specific to NetBSD, and their format strings are

CVS commit: src/usr.bin/xlint/lint1

2024-03-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Mar 1 19:40:45 UTC 2024 Added Files: src/usr.bin/xlint/lint1: cksnprintb.c Log Message: lint: test format strings from snprintb calls The functions snprintb and snprintb_m are specific to NetBSD, and their format strings are

CVS commit: src/usr.bin/xlint/lint1

2024-03-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Mar 1 17:14:34 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: lex.c Log Message: lint: fix type error in strict bool mode (since yesterday) To generate a diff of this commit: cvs rdiff -u -r1.218 -r1.219 src/usr.bin/xlin

CVS commit: src/usr.bin/xlint/lint1

2024-03-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Mar 1 17:14:34 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: lex.c Log Message: lint: fix type error in strict bool mode (since yesterday) To generate a diff of this commit: cvs rdiff -u -r1.218 -r1.219 src/usr.bin/xlin

CVS commit: src/usr.bin/xlint/lint1

2024-02-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Feb 29 21:37:10 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: lex.c Log Message: lint1: remove redundant type table for integer constant suffixes To generate a diff of this commit: cvs rdiff -u -r1.217 -r1.218 src/usr.bi

CVS commit: src/usr.bin/xlint/lint1

2024-02-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Feb 29 21:37:10 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: lex.c Log Message: lint1: remove redundant type table for integer constant suffixes To generate a diff of this commit: cvs rdiff -u -r1.217 -r1.218 src/usr.bi

CVS commit: src/usr.bin/xlint/lint1

2024-02-08 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Feb 8 20:59:20 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: decl.c lex.c tree.c Log Message: lint: clean up variable names, parameter order, comments No functional change. To generate a diff of this commit: cvs rdiff

CVS commit: src/usr.bin/xlint/lint1

2024-02-08 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Feb 8 20:59:20 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: decl.c lex.c tree.c Log Message: lint: clean up variable names, parameter order, comments No functional change. To generate a diff of this commit: cvs rdiff

CVS commit: src/usr.bin/xlint/lint1

2024-02-08 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Feb 8 20:45:20 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: cgram.y decl.c emit1.c func.c init.c lex.c tree.c Log Message: lint: clean up redundant braces No functional change. To generate a diff of this c

CVS commit: src/usr.bin/xlint/lint1

2024-02-08 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Feb 8 20:45:20 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: cgram.y decl.c emit1.c func.c init.c lex.c tree.c Log Message: lint: clean up redundant braces No functional change. To generate a diff of this c

CVS commit: src/usr.bin/xlint/lint1

2024-02-08 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Feb 8 19:32:12 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: cgram.y Log Message: lint: clean up comments, add debug output for Bison To generate a diff of this commit: cvs rdiff -u -r1.487 -r1.488 src/usr.bin/xlint/lin

CVS commit: src/usr.bin/xlint/lint1

2024-02-08 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Feb 8 19:32:12 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: cgram.y Log Message: lint: clean up comments, add debug output for Bison To generate a diff of this commit: cvs rdiff -u -r1.487 -r1.488 src/usr.bin/xlint/lin

CVS commit: src/usr.bin/xlint/lint1

2024-02-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Feb 7 08:00:37 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: lex.c Log Message: lint: use consistent variable names, reduce code for reading a byte No functional change. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/usr.bin/xlint/lint1

2024-02-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Feb 7 08:00:37 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: lex.c Log Message: lint: use consistent variable names, reduce code for reading a byte No functional change. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/usr.bin/xlint/lint1

2024-02-06 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Feb 6 22:47:21 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: Makefile check-msgs.lua err.c makeman Log Message: lint: tab-align message numbers in err.c By replacing block comments with end-of-line comments, the comments

CVS commit: src/usr.bin/xlint/lint1

2024-02-06 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Feb 6 22:47:21 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: Makefile check-msgs.lua err.c makeman Log Message: lint: tab-align message numbers in err.c By replacing block comments with end-of-line comments, the comments

CVS commit: src/usr.bin/xlint/lint1

2024-02-06 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Feb 6 21:28:16 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: makeman Log Message: lint.7: remove implementation details from message list >From a user's perspective, it's irrelevant whether a lint message is generated us

CVS commit: src/usr.bin/xlint/lint1

2024-02-06 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Feb 6 21:28:16 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: makeman Log Message: lint.7: remove implementation details from message list >From a user's perspective, it's irrelevant whether a lint message is generated us

CVS commit: src/usr.bin/xlint/lint1

2024-02-05 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Feb 5 23:11:23 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: README.md cgram.y ckctype.c ckgetopt.c debug.c emit1.c externs1.h lint1.h op.h oper.c tree.c Log Message: lint: make function call arguments directl

CVS commit: src/usr.bin/xlint/lint1

2024-02-05 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Feb 5 23:11:23 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: README.md cgram.y ckctype.c ckgetopt.c debug.c emit1.c externs1.h lint1.h op.h oper.c tree.c Log Message: lint: make function call arguments directl

CVS commit: src/usr.bin/xlint/lint1

2024-02-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Feb 3 19:37:02 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: lint1.h main1.c Log Message: lint: remove excessive empty lines To generate a diff of this commit: cvs rdiff -u -r1.212 -r1.213 src/usr.bin/xlint/lint1/lint1.

CVS commit: src/usr.bin/xlint/lint1

2024-02-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Feb 3 19:37:02 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: lint1.h main1.c Log Message: lint: remove excessive empty lines To generate a diff of this commit: cvs rdiff -u -r1.212 -r1.213 src/usr.bin/xlint/lint1/lint1.

CVS commit: src/usr.bin/xlint/lint1

2024-02-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Feb 3 19:25:16 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: ckgetopt.c debug.c emit1.c externs1.h init.c lex.c lint1.h tree.c Log Message: lint: keep strings in their source representation This allows furthe

CVS commit: src/usr.bin/xlint/lint1

2024-02-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Feb 3 19:25:16 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: ckgetopt.c debug.c emit1.c externs1.h init.c lex.c lint1.h tree.c Log Message: lint: keep strings in their source representation This allows furthe

CVS commit: src/usr.bin/xlint/lint1

2024-02-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Feb 3 12:57:12 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: ckbool.c ckgetopt.c decl.c emit1.c externs1.h func.c lex.c main1.c Log Message: lint: clean up comments, reduce scope of variables To generate a d

CVS commit: src/usr.bin/xlint/lint1

2024-02-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Feb 3 12:57:12 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: ckbool.c ckgetopt.c decl.c emit1.c externs1.h func.c lex.c main1.c Log Message: lint: clean up comments, reduce scope of variables To generate a d

  1   2   3   4   5   6   7   8   9   >