Module Name:src
Committed By: rillig
Date: Fri Feb 2 23:36:01 UTC 2024
Modified Files:
src/tests/usr.bin/xlint/lint1: lex_utf8.c
src/usr.bin/xlint/lint1: main1.c
Log Message:
lint: use the locale for interpreting wide character strings
To generate a diff of
Module Name:src
Committed By: rillig
Date: Fri Feb 2 23:36:01 UTC 2024
Modified Files:
src/tests/usr.bin/xlint/lint1: lex_utf8.c
src/usr.bin/xlint/lint1: main1.c
Log Message:
lint: use the locale for interpreting wide character strings
To generate a diff of
Module Name:src
Committed By: rillig
Date: Fri Feb 2 23:30:39 UTC 2024
Modified Files:
src/distrib/sets/lists/tests: mi
src/tests/usr.bin/xlint/lint1: t_integration.sh
Added Files:
src/tests/usr.bin/xlint/lint1: lex_utf8.c
Log Message:
tests/lint: test
Module Name:src
Committed By: rillig
Date: Fri Feb 2 23:30:39 UTC 2024
Modified Files:
src/distrib/sets/lists/tests: mi
src/tests/usr.bin/xlint/lint1: t_integration.sh
Added Files:
src/tests/usr.bin/xlint/lint1: lex_utf8.c
Log Message:
tests/lint: test
Module Name:src
Committed By: rillig
Date: Fri Feb 2 22:45:48 UTC 2024
Modified Files:
src/tests/usr.bin/xlint/lint1: lex_wide_string.c
Log Message:
tests/lint: add UTF-8 test for string literals
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5
Module Name:src
Committed By: rillig
Date: Fri Feb 2 22:45:48 UTC 2024
Modified Files:
src/tests/usr.bin/xlint/lint1: lex_wide_string.c
Log Message:
tests/lint: add UTF-8 test for string literals
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5
Module Name:src
Committed By: rillig
Date: Fri Feb 2 19:07:58 UTC 2024
Modified Files:
src/distrib/sets/lists/tests: mi
src/tests/usr.bin/xlint/lint1: lex_char.c msg_074.c msg_075.c msg_076.c
msg_079.c msg_080.c msg_081.c msg_082.c msg_254.c msg_258.c
Module Name:src
Committed By: rillig
Date: Fri Feb 2 19:07:58 UTC 2024
Modified Files:
src/distrib/sets/lists/tests: mi
src/tests/usr.bin/xlint/lint1: lex_char.c msg_074.c msg_075.c msg_076.c
msg_079.c msg_080.c msg_081.c msg_082.c msg_254.c msg_258.c
Module Name:src
Committed By: rillig
Date: Fri Feb 2 16:25:59 UTC 2024
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_254.c
src/usr.bin/xlint/common: externs.h tyname.c
src/usr.bin/xlint/lint1: debug.c
Log Message:
lint: fix debug output for strings,
Module Name:src
Committed By: rillig
Date: Fri Feb 2 16:25:59 UTC 2024
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_254.c
src/usr.bin/xlint/common: externs.h tyname.c
src/usr.bin/xlint/lint1: debug.c
Log Message:
lint: fix debug output for strings,
Module Name:src
Committed By: rillig
Date: Fri Feb 2 16:05:37 UTC 2024
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_253.c msg_258.c
src/usr.bin/xlint/lint1: cgram.y lex.c
Log Message:
lint: make newline in a string literal an error in C90 and later
To
Module Name:src
Committed By: rillig
Date: Fri Feb 2 16:05:37 UTC 2024
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_253.c msg_258.c
src/usr.bin/xlint/lint1: cgram.y lex.c
Log Message:
lint: make newline in a string literal an error in C90 and later
To
Module Name:src
Committed By: rillig
Date: Thu Feb 1 22:18:34 UTC 2024
Modified Files:
src/lib/libutil: snprintb.3
Log Message:
snprintb.3: fix examples, clean up wording
In the examples using hex escape sequences, there must be a delimiter
between the escape sequence
Module Name:src
Committed By: rillig
Date: Thu Feb 1 22:18:34 UTC 2024
Modified Files:
src/lib/libutil: snprintb.3
Log Message:
snprintb.3: fix examples, clean up wording
In the examples using hex escape sequences, there must be a delimiter
between the escape sequence
Module Name:src
Committed By: rillig
Date: Thu Feb 1 21:19:13 UTC 2024
Modified Files:
src/usr.bin/xlint/common: externs.h tyname.c
src/usr.bin/xlint/lint1: lex.c tree.c
Log Message:
lint: reuse buffer editing code across lint1
Fix cat_strings to update the
Module Name:src
Committed By: rillig
Date: Thu Feb 1 21:19:13 UTC 2024
Modified Files:
src/usr.bin/xlint/common: externs.h tyname.c
src/usr.bin/xlint/lint1: lex.c tree.c
Log Message:
lint: reuse buffer editing code across lint1
Fix cat_strings to update the
Module Name:src
Committed By: rillig
Date: Thu Feb 1 18:37:07 UTC 2024
Modified Files:
src/usr.bin/xlint/common: lint.h tyname.c
src/usr.bin/xlint/lint1: cgram.y ckgetopt.c debug.c emit1.c externs1.h
init.c lex.c lint1.h tree.c
Log Message:
lint: use
Module Name:src
Committed By: rillig
Date: Thu Feb 1 18:37:07 UTC 2024
Modified Files:
src/usr.bin/xlint/common: lint.h tyname.c
src/usr.bin/xlint/lint1: cgram.y ckgetopt.c debug.c emit1.c externs1.h
init.c lex.c lint1.h tree.c
Log Message:
lint: use
Module Name:src
Committed By: rillig
Date: Mon Jan 29 21:30:25 UTC 2024
Modified Files:
src/usr.bin/xlint/lint1: ckgetopt.c debug.c emit1.c lex.c lint1.h
tree.c
Log Message:
lint: do not remember content of wide string literals
The plain char literals are
Module Name:src
Committed By: rillig
Date: Mon Jan 29 21:30:25 UTC 2024
Modified Files:
src/usr.bin/xlint/lint1: ckgetopt.c debug.c emit1.c lex.c lint1.h
tree.c
Log Message:
lint: do not remember content of wide string literals
The plain char literals are
Module Name:src
Committed By: rillig
Date: Mon Jan 29 21:04:21 UTC 2024
Modified Files:
src/usr.bin/xlint/lint1: ckgetopt.c
Log Message:
lint: check getopt call more strictly
Previously, '(c = getopt(...)) != -2' would match as well.
To generate a diff of this commit:
Module Name:src
Committed By: rillig
Date: Mon Jan 29 21:04:21 UTC 2024
Modified Files:
src/usr.bin/xlint/lint1: ckgetopt.c
Log Message:
lint: check getopt call more strictly
Previously, '(c = getopt(...)) != -2' would match as well.
To generate a diff of this commit:
Module Name:src
Committed By: rillig
Date: Sun Jan 28 08:54:28 UTC 2024
Modified Files:
src/tests/usr.bin/xlint/lint1: check-expect.lua msg_019.c queries.c
queries_schar.c queries_uchar.c
Log Message:
tests/lint: enforce diagnostics to be listed in chronologic
Module Name:src
Committed By: rillig
Date: Sun Jan 28 08:54:28 UTC 2024
Modified Files:
src/tests/usr.bin/xlint/lint1: check-expect.lua msg_019.c queries.c
queries_schar.c queries_uchar.c
Log Message:
tests/lint: enforce diagnostics to be listed in chronologic
Module Name:src
Committed By: rillig
Date: Sun Jan 28 08:26:07 UTC 2024
Modified Files:
src/tests/usr.bin/xlint/lint1: check-expect.lua platform_ilp32_c90.c
platform_ilp32_c99.c platform_ilp32_trad.c
Log Message:
tests/lint: sort diagnostics in ilp32 tests
Module Name:src
Committed By: rillig
Date: Sun Jan 28 08:26:07 UTC 2024
Modified Files:
src/tests/usr.bin/xlint/lint1: check-expect.lua platform_ilp32_c90.c
platform_ilp32_c99.c platform_ilp32_trad.c
Log Message:
tests/lint: sort diagnostics in ilp32 tests
Module Name:src
Committed By: rillig
Date: Sun Jan 28 08:17:27 UTC 2024
Modified Files:
src/tests/usr.bin/xlint/lint1: accept.sh c11.c c23.c check-expect.lua
d_c99_init.c decl.c decl_arg.c decl_direct_abstract.c msg_083.c
msg_090.c msg_092.c
Module Name:src
Committed By: rillig
Date: Sun Jan 28 08:17:27 UTC 2024
Modified Files:
src/tests/usr.bin/xlint/lint1: accept.sh c11.c c23.c check-expect.lua
d_c99_init.c decl.c decl_arg.c decl_direct_abstract.c msg_083.c
msg_090.c msg_092.c
Module Name:src
Committed By: rillig
Date: Sun Jan 28 06:57:41 UTC 2024
Modified Files:
src/tests/usr.bin/xlint/lint1: lex_integer_ilp32.c msg_218.c
Log Message:
tests/lint: fix tests for integer constants on ILP32 platforms
The comment in msg_218 was both off-topic and
Module Name:src
Committed By: rillig
Date: Sun Jan 28 06:57:41 UTC 2024
Modified Files:
src/tests/usr.bin/xlint/lint1: lex_integer_ilp32.c msg_218.c
Log Message:
tests/lint: fix tests for integer constants on ILP32 platforms
The comment in msg_218 was both off-topic and
Module Name:src
Committed By: rillig
Date: Sat Jan 27 21:42:29 UTC 2024
Modified Files:
src/tests/lib/libutil: t_snprintb.c
Log Message:
tests/libutil/snprintb: remove redundant integer constant suffixes
I added these because lint told me so. Lint was wrong though, as it
Module Name:src
Committed By: rillig
Date: Sat Jan 27 21:42:29 UTC 2024
Modified Files:
src/tests/lib/libutil: t_snprintb.c
Log Message:
tests/libutil/snprintb: remove redundant integer constant suffixes
I added these because lint told me so. Lint was wrong though, as it
Module Name:src
Committed By: rillig
Date: Sat Jan 27 20:03:15 UTC 2024
Modified Files:
src/tests/usr.bin/xlint/lint1: platform_ilp32_c90.c
platform_ilp32_c99.c platform_ilp32_trad.c platform_lp64_c90.c
platform_lp64_c99.c platform_lp64_trad.c
Module Name:src
Committed By: rillig
Date: Sat Jan 27 20:03:15 UTC 2024
Modified Files:
src/tests/usr.bin/xlint/lint1: platform_ilp32_c90.c
platform_ilp32_c99.c platform_ilp32_trad.c platform_lp64_c90.c
platform_lp64_c99.c platform_lp64_trad.c
Module Name:src
Committed By: rillig
Date: Sat Jan 27 15:53:28 UTC 2024
Modified Files:
src/usr.bin/xlint/lint1: lex.c
Log Message:
lint: split determining the type of an integer constant
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.201
Module Name:src
Committed By: rillig
Date: Sat Jan 27 15:53:28 UTC 2024
Modified Files:
src/usr.bin/xlint/lint1: lex.c
Log Message:
lint: split determining the type of an integer constant
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.201
Module Name:src
Committed By: rillig
Date: Sat Jan 27 15:10:57 UTC 2024
Modified Files:
src/distrib/sets/lists/tests: mi
src/tests/usr.bin/xlint/lint1: check-expect.lua msg_252.c
Added Files:
src/tests/usr.bin/xlint/lint1: platform_ilp32_c90.c
Module Name:src
Committed By: rillig
Date: Sat Jan 27 15:10:57 UTC 2024
Modified Files:
src/distrib/sets/lists/tests: mi
src/tests/usr.bin/xlint/lint1: check-expect.lua msg_252.c
Added Files:
src/tests/usr.bin/xlint/lint1: platform_ilp32_c90.c
Module Name:src
Committed By: rillig
Date: Sat Jan 27 12:14:58 UTC 2024
Modified Files:
src/usr.bin/xlint/lint1: lex.c
Log Message:
lint: extract signedness detection from lexing an integer constant
An integer constant that is signed in traditional C but unsigned since
Module Name:src
Committed By: rillig
Date: Sat Jan 27 12:14:58 UTC 2024
Modified Files:
src/usr.bin/xlint/lint1: lex.c
Log Message:
lint: extract signedness detection from lexing an integer constant
An integer constant that is signed in traditional C but unsigned since
Module Name:src
Committed By: rillig
Date: Sat Jan 27 10:32:03 UTC 2024
Modified Files:
src/tests/lib/libutil: t_snprintb.c
Log Message:
tests/libutil/snprintb: fix test for 32-bit platforms
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11
Module Name:src
Committed By: rillig
Date: Sat Jan 27 10:32:03 UTC 2024
Modified Files:
src/tests/lib/libutil: t_snprintb.c
Log Message:
tests/libutil/snprintb: fix test for 32-bit platforms
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11
Module Name:src
Committed By: rillig
Date: Sat Jan 27 08:54:15 UTC 2024
Modified Files:
src/tests/lib/libutil: t_snprintb.c
Log Message:
tests/libutil/snprintb: add more tests
Test all number bases (octal, decimal, hexadecimal), in both old-style
and new-style formats,
Module Name:src
Committed By: rillig
Date: Sat Jan 27 08:54:15 UTC 2024
Modified Files:
src/tests/lib/libutil: t_snprintb.c
Log Message:
tests/libutil/snprintb: add more tests
Test all number bases (octal, decimal, hexadecimal), in both old-style
and new-style formats,
About optional arguments to modifiers, such as in ${VAR:U}:
Am 25.01.2024 um 20:54 schrieb Simon Gerraty:
> Is there perhaps a general statement somewhere (I may have missed it)
> that could cover all these and be cited to pedantic users?
> Eg to the effect of perhaps, unless stated otherwise
Am 25.01.2024 um 14:25 schrieb Valery Ushakov:
> On Thu, Jan 25, 2024 at 07:35:46 +, Simon J. Gerraty wrote:
>
>> Modified Files:
>> src/usr.bin/make: make.1
>>
>> Log Message:
>> Indicate that for :U newval is optional
>
> I think this is more confusing than helpful.
I agree. Make
y Christos Zoulas.
+ * This code was contributed to The NetBSD Foundation by Christos Zoulas and
+ * Roland Illig.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -31,27 +32,58 @@
#include
_
Module Name:src
Committed By: rillig
Date: Thu Jan 25 18:13:14 UTC 2024
Modified Files:
src/tests/lib/libutil: t_snprintb.c
Log Message:
tests/libutil/snprintb: clean up and extend tests
In case of a failure, print the details of the test case, including file
and line
Module Name:src
Committed By: rillig
Date: Tue Jan 23 22:07:23 UTC 2024
Modified Files:
src/distrib/sets/lists/tests: mi
Log Message:
tests/lint: revert accidental addition of test for lint message 356
To generate a diff of this commit:
cvs rdiff -u -r1.1298 -r1.1299
Module Name:src
Committed By: rillig
Date: Tue Jan 23 22:07:23 UTC 2024
Modified Files:
src/distrib/sets/lists/tests: mi
Log Message:
tests/lint: revert accidental addition of test for lint message 356
To generate a diff of this commit:
cvs rdiff -u -r1.1298 -r1.1299
Module Name:src
Committed By: rillig
Date: Tue Jan 23 20:03:42 UTC 2024
Modified Files:
src/usr.bin/xlint/lint1: decl.c tree.c
Log Message:
lint: unconst parameters
These were leftovers from earlier refactorings and are no longer needed.
No binary change.
To generate
Module Name:src
Committed By: rillig
Date: Tue Jan 23 20:03:42 UTC 2024
Modified Files:
src/usr.bin/xlint/lint1: decl.c tree.c
Log Message:
lint: unconst parameters
These were leftovers from earlier refactorings and are no longer needed.
No binary change.
To generate
Module Name:src
Committed By: rillig
Date: Tue Jan 23 19:44:29 UTC 2024
Modified Files:
src/distrib/sets/lists/tests: mi
src/tests/usr.bin/xlint/lint1: decl.c
src/usr.bin/xlint: Makefile.inc
src/usr.bin/xlint/lint1: cgram.y debug.c decl.c externs1.h
Module Name:src
Committed By: rillig
Date: Tue Jan 23 19:44:29 UTC 2024
Modified Files:
src/distrib/sets/lists/tests: mi
src/tests/usr.bin/xlint/lint1: decl.c
src/usr.bin/xlint: Makefile.inc
src/usr.bin/xlint/lint1: cgram.y debug.c decl.c externs1.h
Module Name:src
Committed By: rillig
Date: Sun Jan 21 22:06:46 UTC 2024
Modified Files:
src/lib/libutil: snprintb.3
Log Message:
snprintb.3: remove empty string literals from examples
Suggested by uwe@, as gaps in bitmasks are quite common and thus
shouldn't clutter the
Module Name:src
Committed By: rillig
Date: Sun Jan 21 22:06:46 UTC 2024
Modified Files:
src/lib/libutil: snprintb.3
Log Message:
snprintb.3: remove empty string literals from examples
Suggested by uwe@, as gaps in bitmasks are quite common and thus
shouldn't clutter the
Module Name:src
Committed By: rillig
Date: Sun Jan 21 21:31:23 UTC 2024
Modified Files:
src/lib/libutil: snprintb.3
Log Message:
snprintb.3: fix examples
The first example broke the format string at boundaries that didn't
highlight the structure of the format string and
Module Name:src
Committed By: rillig
Date: Sun Jan 21 21:31:23 UTC 2024
Modified Files:
src/lib/libutil: snprintb.3
Log Message:
snprintb.3: fix examples
The first example broke the format string at boundaries that didn't
highlight the structure of the format string and
Am 21.01.2024 um 19:16 schrieb Christos Zoulas:
> In article ,
> Valery Ushakov wrote:
>> On Sun, Jan 21, 2024 at 11:55:56 -0500, Christos Zoulas wrote:
>>
>>> Consider providing parsedate(3) in libcompat, but then we'd need
>>> yacc...
>>
>> We already have yacc in tools - src/tools/yacc
>
> I
Module Name:src
Committed By: rillig
Date: Sun Jan 21 16:32:41 UTC 2024
Modified Files:
src/usr.bin/make: cond.c
Log Message:
make: refactor CondParser_Term to be inlinable
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.360 -r1.361
Module Name:src
Committed By: rillig
Date: Sun Jan 21 16:32:41 UTC 2024
Modified Files:
src/usr.bin/make: cond.c
Log Message:
make: refactor CondParser_Term to be inlinable
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.360 -r1.361
Module Name:src
Committed By: rillig
Date: Sun Jan 21 15:22:55 UTC 2024
Modified Files:
src/usr.bin/make: cond.c
Log Message:
make: clean up parsing of conditions
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.359 -r1.360
Module Name:src
Committed By: rillig
Date: Sun Jan 21 15:22:55 UTC 2024
Modified Files:
src/usr.bin/make: cond.c
Log Message:
make: clean up parsing of conditions
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.359 -r1.360
Module Name:src
Committed By: rillig
Date: Sun Jan 21 15:02:17 UTC 2024
Modified Files:
src/usr.bin/make: for.c var.c
Log Message:
make: clean up redundant 'const' from automatic variables
No binary change.
To generate a diff of this commit:
cvs rdiff -u -r1.177
Module Name:src
Committed By: rillig
Date: Sun Jan 21 15:02:17 UTC 2024
Modified Files:
src/usr.bin/make: for.c var.c
Log Message:
make: clean up redundant 'const' from automatic variables
No binary change.
To generate a diff of this commit:
cvs rdiff -u -r1.177
Module Name:src
Committed By: rillig
Date: Sun Jan 21 14:59:18 UTC 2024
Modified Files:
src/usr.bin/xlint: Makefile.inc
Log Message:
lint: on lint itself, disable query for const variables again
It suffixes to perform this check on demand.
To generate a diff of this
Module Name:src
Committed By: rillig
Date: Sun Jan 21 14:59:18 UTC 2024
Modified Files:
src/usr.bin/xlint: Makefile.inc
Log Message:
lint: on lint itself, disable query for const variables again
It suffixes to perform this check on demand.
To generate a diff of this
Module Name:src
Committed By: rillig
Date: Sun Jan 21 14:21:34 UTC 2024
Modified Files:
src/usr.bin/xlint: Makefile.inc
src/usr.bin/xlint/lint1: decl.c tree.c
Log Message:
lint: clean up redundant const from parameters and local variables
These were leftovers
Module Name:src
Committed By: rillig
Date: Sun Jan 21 14:21:34 UTC 2024
Modified Files:
src/usr.bin/xlint: Makefile.inc
src/usr.bin/xlint/lint1: decl.c tree.c
Log Message:
lint: clean up redundant const from parameters and local variables
These were leftovers
Module Name:src
Committed By: rillig
Date: Sun Jan 21 14:11:52 UTC 2024
Modified Files:
src/usr.bin/xlint/lint1: main1.c
src/usr.bin/xlint/xlint: lint.1
Log Message:
lint: create .ln output file even when queries are enabled
This allows to configure lint flags in
Module Name:src
Committed By: rillig
Date: Sun Jan 21 14:11:52 UTC 2024
Modified Files:
src/usr.bin/xlint/lint1: main1.c
src/usr.bin/xlint/xlint: lint.1
Log Message:
lint: create .ln output file even when queries are enabled
This allows to configure lint flags in
Module Name:src
Committed By: rillig
Date: Sat Jan 20 12:02:10 UTC 2024
Modified Files:
src/usr.bin/xlint/common: externs.h mem.c
src/usr.bin/xlint/xlint: xlint.c
Log Message:
lint: clean up
To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34
Module Name:src
Committed By: rillig
Date: Sat Jan 20 12:02:10 UTC 2024
Modified Files:
src/usr.bin/xlint/common: externs.h mem.c
src/usr.bin/xlint/xlint: xlint.c
Log Message:
lint: clean up
To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34
Module Name:src
Committed By: rillig
Date: Sat Jan 20 10:25:57 UTC 2024
Modified Files:
src/usr.bin/xlint/common: externs.h inittyp.c lint.h mem.c tyname.c
Log Message:
lint: unclutter conditional compilation
To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33
Module Name:src
Committed By: rillig
Date: Sat Jan 20 10:25:57 UTC 2024
Modified Files:
src/usr.bin/xlint/common: externs.h inittyp.c lint.h mem.c tyname.c
Log Message:
lint: unclutter conditional compilation
To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33
Module Name:src
Committed By: rillig
Date: Sat Jan 20 10:21:35 UTC 2024
Modified Files:
src/usr.bin/xlint/common: externs.h mem.c
Log Message:
lint: only define xcalloc if actually used
To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32
Module Name:src
Committed By: rillig
Date: Sat Jan 20 10:21:35 UTC 2024
Modified Files:
src/usr.bin/xlint/common: externs.h mem.c
Log Message:
lint: only define xcalloc if actually used
To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32
Module Name:src
Committed By: rillig
Date: Sat Jan 20 10:02:31 UTC 2024
Modified Files:
src/tests/usr.bin/xlint/lint1: queries.c t_usage.sh
src/usr.bin/xlint/lint1: decl.c err.c
Log Message:
lint: add query for const automatic variables
To generate a diff of
Module Name:src
Committed By: rillig
Date: Sat Jan 20 10:02:31 UTC 2024
Modified Files:
src/tests/usr.bin/xlint/lint1: queries.c t_usage.sh
src/usr.bin/xlint/lint1: decl.c err.c
Log Message:
lint: add query for const automatic variables
To generate a diff of
Module Name:src
Committed By: rillig
Date: Fri Jan 19 19:23:35 UTC 2024
Modified Files:
src/tests/usr.bin/xlint/lint1: lex_char.c lex_wide_char.c msg_079.c
src/usr.bin/xlint/lint1: lex.c
Log Message:
lint: allow '\e' only in GCC mode
To generate a diff of this
Module Name:src
Committed By: rillig
Date: Fri Jan 19 19:23:35 UTC 2024
Modified Files:
src/tests/usr.bin/xlint/lint1: lex_char.c lex_wide_char.c msg_079.c
src/usr.bin/xlint/lint1: lex.c
Log Message:
lint: allow '\e' only in GCC mode
To generate a diff of this
Module Name:src
Committed By: rillig
Date: Sat Jan 13 11:24:57 UTC 2024
Modified Files:
src/usr.bin/xlint/lint1: cgram.y init.c
Log Message:
lint: clean up grammar for initializers
To generate a diff of this commit:
cvs rdiff -u -r1.482 -r1.483
Module Name:src
Committed By: rillig
Date: Sat Jan 13 11:24:57 UTC 2024
Modified Files:
src/usr.bin/xlint/lint1: cgram.y init.c
Log Message:
lint: clean up grammar for initializers
To generate a diff of this commit:
cvs rdiff -u -r1.482 -r1.483
Module Name:src
Committed By: rillig
Date: Sat Jan 13 01:23:39 UTC 2024
Modified Files:
src/usr.bin/xlint/lint1: cgram.y
Log Message:
lint: inline simple grammar rules
To generate a diff of this commit:
cvs rdiff -u -r1.481 -r1.482 src/usr.bin/xlint/lint1/cgram.y
Module Name:src
Committed By: rillig
Date: Sat Jan 13 01:23:39 UTC 2024
Modified Files:
src/usr.bin/xlint/lint1: cgram.y
Log Message:
lint: inline simple grammar rules
To generate a diff of this commit:
cvs rdiff -u -r1.481 -r1.482 src/usr.bin/xlint/lint1/cgram.y
Module Name:src
Committed By: rillig
Date: Fri Jan 12 08:33:39 UTC 2024
Modified Files:
src/usr.bin/xlint/lint1: cgram.y
Log Message:
lint: clean up grammar for array size
To generate a diff of this commit:
cvs rdiff -u -r1.480 -r1.481 src/usr.bin/xlint/lint1/cgram.y
Module Name:src
Committed By: rillig
Date: Fri Jan 12 08:33:39 UTC 2024
Modified Files:
src/usr.bin/xlint/lint1: cgram.y
Log Message:
lint: clean up grammar for array size
To generate a diff of this commit:
cvs rdiff -u -r1.480 -r1.481 src/usr.bin/xlint/lint1/cgram.y
Module Name:src
Committed By: rillig
Date: Thu Jan 11 23:26:40 UTC 2024
Modified Files:
src/usr.bin/xlint/lint1: cgram.y init.c lint1.h tree.c
Log Message:
lint: clean up enum constants for designators
In intializers and offsetof, both struct and union members are
Module Name:src
Committed By: rillig
Date: Thu Jan 11 23:26:40 UTC 2024
Modified Files:
src/usr.bin/xlint/lint1: cgram.y init.c lint1.h tree.c
Log Message:
lint: clean up enum constants for designators
In intializers and offsetof, both struct and union members are
Module Name:src
Committed By: rillig
Date: Thu Jan 11 23:06:19 UTC 2024
Modified Files:
src/usr.bin/xlint/lint1: cgram.y externs1.h tree.c
Log Message:
lint: correctly set system-header flag on cast-expression
When a cast-expression comes partly from a system header,
Module Name:src
Committed By: rillig
Date: Thu Jan 11 23:06:19 UTC 2024
Modified Files:
src/usr.bin/xlint/lint1: cgram.y externs1.h tree.c
Log Message:
lint: correctly set system-header flag on cast-expression
When a cast-expression comes partly from a system header,
Module Name:src
Committed By: rillig
Date: Thu Jan 11 20:25:04 UTC 2024
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_141.c
src/usr.bin/xlint/lint1: tree.c
Log Message:
lint: warn about integer overflow when folding constant INT_MIN / -1
To generate a diff
Module Name:src
Committed By: rillig
Date: Thu Jan 11 20:25:04 UTC 2024
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_141.c
src/usr.bin/xlint/lint1: tree.c
Log Message:
lint: warn about integer overflow when folding constant INT_MIN / -1
To generate a diff
Module Name:src
Committed By: rillig
Date: Thu Jan 11 04:45:20 UTC 2024
Modified Files:
src/usr.bin/xlint: Makefile.inc
Log Message:
lint: disable -ftrapv for vax
When compiling lint1/cgram.c:
during RTL pass: postreload
cgram.c: In function 'yyparse':
cgram.c:5873:1:
Module Name:src
Committed By: rillig
Date: Thu Jan 11 04:45:20 UTC 2024
Modified Files:
src/usr.bin/xlint: Makefile.inc
Log Message:
lint: disable -ftrapv for vax
When compiling lint1/cgram.c:
during RTL pass: postreload
cgram.c: In function 'yyparse':
cgram.c:5873:1:
Module Name:src
Committed By: rillig
Date: Tue Jan 9 23:46:54 UTC 2024
Modified Files:
src/tests/usr.bin/xlint/lint1: d_bltinoffsetof.c
src/usr.bin/xlint/lint1: cgram.y externs1.h init.c lint1.h tree.c
Log Message:
lint: allow complex offsetof(type,
Module Name:src
Committed By: rillig
Date: Tue Jan 9 23:46:54 UTC 2024
Modified Files:
src/tests/usr.bin/xlint/lint1: d_bltinoffsetof.c
src/usr.bin/xlint/lint1: cgram.y externs1.h init.c lint1.h tree.c
Log Message:
lint: allow complex offsetof(type,
Module Name:src
Committed By: rillig
Date: Mon Jan 8 17:11:32 UTC 2024
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_141.c
Log Message:
tests/lint: fix overflow test for 32-bit platforms (since yesterday)
Plain integer constants without suffix are first tried to
Module Name:src
Committed By: rillig
Date: Mon Jan 8 17:11:32 UTC 2024
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_141.c
Log Message:
tests/lint: fix overflow test for 32-bit platforms (since yesterday)
Plain integer constants without suffix are first tried to
Module Name:src
Committed By: rillig
Date: Sun Jan 7 21:19:42 UTC 2024
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_107.c msg_141.c msg_305.c
Log Message:
tests/lint: test operators, integer overflow, conversions
To generate a diff of this commit:
cvs rdiff -u
701 - 800 of 15015 matches
Mail list logo