Module Name:src
Committed By: rillig
Date: Sat Sep 24 19:55:45 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: queries.c
Log Message:
tests/lint: fix test for queries on platforms where char is unsigned
error: queries.c(118): missing /* expect+1: implicit
Module Name:src
Committed By: rillig
Date: Sat Sep 24 19:55:45 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: queries.c
Log Message:
tests/lint: fix test for queries on platforms where char is unsigned
error: queries.c(118): missing /* expect+1: implicit
Module Name:src
Committed By: rillig
Date: Sat Sep 10 13:13:22 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: queries.c
Log Message:
tests/lint: fix test for queries on platforms where char is unsigned
These platforms reported an additional "implicit conversion
Module Name:src
Committed By: rillig
Date: Sat Sep 10 13:13:22 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: queries.c
Log Message:
tests/lint: fix test for queries on platforms where char is unsigned
These platforms reported an additional "implicit conversion
Module Name:src
Committed By: rillig
Date: Sat Aug 27 23:24:37 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: gcc_attribute_aligned.c
Log Message:
tests/lint: add more information to test for __attribute__((aligned))
Declaring an array type having a negative
Module Name:src
Committed By: rillig
Date: Sat Aug 27 23:24:37 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: gcc_attribute_aligned.c
Log Message:
tests/lint: add more information to test for __attribute__((aligned))
Declaring an array type having a negative
Module Name:src
Committed By: rillig
Date: Sat Aug 27 21:59:41 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: gcc_attribute_aligned.c
Log Message:
tests/lint: add another test for aligned struct member
In the kernel, several structs have this attribute, and
Module Name:src
Committed By: rillig
Date: Sat Aug 27 21:59:41 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: gcc_attribute_aligned.c
Log Message:
tests/lint: add another test for aligned struct member
In the kernel, several structs have this attribute, and
Module Name:src
Committed By: rillig
Date: Fri Aug 19 19:13:04 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_267.c
Log Message:
tests/lint: demonstrate wrong warning about bit-shift
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5
Module Name:src
Committed By: rillig
Date: Fri Aug 19 19:13:04 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_267.c
Log Message:
tests/lint: demonstrate wrong warning about bit-shift
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5
Module Name:src
Committed By: rillig
Date: Thu Jul 7 18:11:30 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_132.c
Log Message:
tests/lint: document why in ic_expr, '&' does not need before_conversion
To generate a diff of this commit:
cvs rdiff -u -r1.23
Module Name:src
Committed By: rillig
Date: Thu Jul 7 18:11:30 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_132.c
Log Message:
tests/lint: document why in ic_expr, '&' does not need before_conversion
To generate a diff of this commit:
cvs rdiff -u -r1.23
Module Name:src
Committed By: rillig
Date: Wed Jul 6 21:59:07 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_132.c
Log Message:
tests/lint: test 'may lose accuracy' for '%'
For unsigned integers, the possible range of the result can be narrowed
down by
Module Name:src
Committed By: rillig
Date: Wed Jul 6 21:59:07 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_132.c
Log Message:
tests/lint: test 'may lose accuracy' for '%'
For unsigned integers, the possible range of the result can be narrowed
down by
Module Name:src
Committed By: rillig
Date: Wed Jul 6 21:13:13 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_159.c
Log Message:
tests/lint: add test for 'assignment in conditional context'
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4
Module Name:src
Committed By: rillig
Date: Wed Jul 6 21:13:13 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_159.c
Log Message:
tests/lint: add test for 'assignment in conditional context'
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4
Module Name:src
Committed By: rillig
Date: Sat Jul 2 09:48:18 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_132.c
Log Message:
tests/lint: test bit shift with large integer types
build_bit_shift converts the right-hand operand to INT or UINT, even
though
Module Name:src
Committed By: rillig
Date: Sat Jul 2 09:48:18 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_132.c
Log Message:
tests/lint: test bit shift with large integer types
build_bit_shift converts the right-hand operand to INT or UINT, even
though
Module Name:src
Committed By: rillig
Date: Fri Jul 1 20:35:18 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_138.c
Log Message:
tests/lint: add tests for accessing incomplete types
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4
Module Name:src
Committed By: rillig
Date: Fri Jul 1 20:35:18 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_138.c
Log Message:
tests/lint: add tests for accessing incomplete types
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4
Module Name:src
Committed By: rillig
Date: Fri Jun 24 21:02:10 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_247.c
Log Message:
tests/lint: demonstrate another warning about pointer casts
To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25
Module Name:src
Committed By: rillig
Date: Fri Jun 24 21:02:10 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_247.c
Log Message:
tests/lint: demonstrate another warning about pointer casts
To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25
Module Name:src
Committed By: rillig
Date: Fri Jun 24 20:32:12 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_247.c
Log Message:
tests/lint: demonstrate warning for cast between compatible structs
To generate a diff of this commit:
cvs rdiff -u -r1.22
Module Name:src
Committed By: rillig
Date: Fri Jun 24 20:32:12 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_247.c
Log Message:
tests/lint: demonstrate warning for cast between compatible structs
To generate a diff of this commit:
cvs rdiff -u -r1.22
Module Name:src
Committed By: rillig
Date: Fri Jun 24 20:02:58 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_247.c
Log Message:
tests/lint: demonstrate pointer casts between sockaddr variants
To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21
Module Name:src
Committed By: rillig
Date: Fri Jun 24 20:02:58 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_247.c
Log Message:
tests/lint: demonstrate pointer casts between sockaddr variants
To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21
Module Name:src
Committed By: rillig
Date: Fri Jun 24 19:20:39 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_247.c
Log Message:
tests/lint: demonstrate dubious warnings for pointer casts
Casting a 'pointer to char' to a 'pointer to anything else' is already
Module Name:src
Committed By: rillig
Date: Fri Jun 24 19:20:39 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_247.c
Log Message:
tests/lint: demonstrate dubious warnings for pointer casts
Casting a 'pointer to char' to a 'pointer to anything else' is already
Module Name:src
Committed By: rillig
Date: Sat Jun 11 14:17:33 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: d_c99_bool_strict_syshdr.c
d_c99_bool_strict_syshdr.exp
Log Message:
tests/lint: demonstrate wrong syshdr check in strict bool mode
To
Module Name:src
Committed By: rillig
Date: Sat Jun 11 14:17:33 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: d_c99_bool_strict_syshdr.c
d_c99_bool_strict_syshdr.exp
Log Message:
tests/lint: demonstrate wrong syshdr check in strict bool mode
To
Module Name:src
Committed By: rillig
Date: Sat Jun 11 11:20:40 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_234.c msg_234.exp msg_236.c
msg_236.exp msg_307.c msg_307.exp msg_314.c msg_314.exp
Log Message:
tests/lint: add tests for messages that
Module Name:src
Committed By: rillig
Date: Sat Jun 11 11:20:40 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_234.c msg_234.exp msg_236.c
msg_236.exp msg_307.c msg_307.exp msg_314.c msg_314.exp
Log Message:
tests/lint: add tests for messages that
Module Name:src
Committed By: rillig
Date: Sat Jun 11 10:46:38 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_261.c msg_261.exp
Log Message:
tests/lint: add test for 'previous definition' message
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3
Module Name:src
Committed By: rillig
Date: Sat Jun 11 10:46:38 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_261.c msg_261.exp
Log Message:
tests/lint: add test for 'previous definition' message
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3
Module Name:src
Committed By: rillig
Date: Mon May 30 08:51:08 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_168.c
Log Message:
tests/lint: explain how lint represents pointer addition
To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8
Module Name:src
Committed By: rillig
Date: Mon May 30 08:51:08 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_168.c
Log Message:
tests/lint: explain how lint represents pointer addition
To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8
Module Name:src
Committed By: rillig
Date: Mon May 30 08:04:00 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_168.c msg_168.exp
Log Message:
tests/lint: demonstrate wrong warning 'array subscript cannot be'
Since tree.c 1.448 from 2022-05-26.
To generate a
Module Name:src
Committed By: rillig
Date: Mon May 30 08:04:00 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_168.c msg_168.exp
Log Message:
tests/lint: demonstrate wrong warning 'array subscript cannot be'
Since tree.c 1.448 from 2022-05-26.
To generate a
Module Name:src
Committed By: rillig
Date: Sun May 29 23:09:43 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_132.c msg_132.exp
Log Message:
tests/lint: demonstrate wrong errors 'size/alignment of bit-field'
Since tree.c 1.444 from 2022-05-26, which added
Module Name:src
Committed By: rillig
Date: Sun May 29 23:09:43 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_132.c msg_132.exp
Log Message:
tests/lint: demonstrate wrong errors 'size/alignment of bit-field'
Since tree.c 1.444 from 2022-05-26, which added
Module Name:src
Committed By: rillig
Date: Thu May 26 19:55:57 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_132.c msg_132.exp
Log Message:
tests/lint: demonstrate wrong warnings about loss of accuracy
To generate a diff of this commit:
cvs rdiff -u -r1.11
Module Name:src
Committed By: rillig
Date: Thu May 26 19:55:57 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_132.c msg_132.exp
Log Message:
tests/lint: demonstrate wrong warnings about loss of accuracy
To generate a diff of this commit:
cvs rdiff -u -r1.11
Module Name:src
Committed By: rillig
Date: Thu May 26 07:03:03 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_132.c msg_132.exp
Log Message:
tests/lint: demonstrate wrong 'may lose accuracy' warning
Reported in PR 36668, fixed in sys/sys/endian.h 1.26 from
Module Name:src
Committed By: rillig
Date: Thu May 26 07:03:03 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_132.c msg_132.exp
Log Message:
tests/lint: demonstrate wrong 'may lose accuracy' warning
Reported in PR 36668, fixed in sys/sys/endian.h 1.26 from
Module Name:src
Committed By: rillig
Date: Sun May 22 13:53:39 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_206.c msg_206.exp
Log Message:
tests/lint: demonstrate wrong warning for switch on enum
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5
Module Name:src
Committed By: rillig
Date: Sun May 22 13:53:39 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_206.c msg_206.exp
Log Message:
tests/lint: demonstrate wrong warning for switch on enum
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5
Module Name:src
Committed By: rillig
Date: Fri May 20 21:03:04 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: d_c99_bool_strict_syshdr.c
Log Message:
tests/lint: sync comment with reality
To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 \
Module Name:src
Committed By: rillig
Date: Fri May 20 21:03:04 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: d_c99_bool_strict_syshdr.c
Log Message:
tests/lint: sync comment with reality
To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 \
Module Name:src
Committed By: rillig
Date: Thu May 19 17:10:50 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: d_c99_bool_strict_syshdr.c
d_c99_bool_strict_syshdr.exp
Log Message:
tests/lint: extend tests for type mismatch in strict bool mode
Seen in
Module Name:src
Committed By: rillig
Date: Thu May 19 17:10:50 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: d_c99_bool_strict_syshdr.c
d_c99_bool_strict_syshdr.exp
Log Message:
tests/lint: extend tests for type mismatch in strict bool mode
Seen in
Module Name:src
Committed By: rillig
Date: Wed May 18 19:25:12 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_160.c msg_160.exp
Log Message:
tests/lint: add more examples for warning in comma expression
To generate a diff of this commit:
cvs rdiff -u -r1.6
Module Name:src
Committed By: rillig
Date: Wed May 18 19:25:12 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_160.c msg_160.exp
Log Message:
tests/lint: add more examples for warning in comma expression
To generate a diff of this commit:
cvs rdiff -u -r1.6
Module Name:src
Committed By: rillig
Date: Thu Apr 28 07:10:39 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: gcc_attribute_stmt.c
gcc_attribute_stmt.exp
Log Message:
tests/lint: add test for GCC unused statement
Seen in xsrc/LRGB.c:799.
Even though
Module Name:src
Committed By: rillig
Date: Thu Apr 28 07:10:39 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: gcc_attribute_stmt.c
gcc_attribute_stmt.exp
Log Message:
tests/lint: add test for GCC unused statement
Seen in xsrc/LRGB.c:799.
Even though
Module Name:src
Committed By: rillig
Date: Sun Apr 24 19:46:29 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_001.c msg_001.exp
Log Message:
tests/lint: demonstrate missing check for missing type
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5
Module Name:src
Committed By: rillig
Date: Sun Apr 24 19:46:29 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_001.c msg_001.exp
Log Message:
tests/lint: demonstrate missing check for missing type
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5
Module Name:src
Committed By: rillig
Date: Thu Apr 21 19:48:18 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_132.c msg_132.exp
Log Message:
tests/lint: extend test for lossy integer conversion
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9
Module Name:src
Committed By: rillig
Date: Thu Apr 21 19:48:18 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_132.c msg_132.exp
Log Message:
tests/lint: extend test for lossy integer conversion
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9
Module Name:src
Committed By: rillig
Date: Wed Apr 20 22:50:56 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_132.c msg_132.exp
Log Message:
tests/lint: fix test for message 132 to be platform-independent
On i386, the test failed because the warning in line
Module Name:src
Committed By: rillig
Date: Wed Apr 20 22:50:56 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_132.c msg_132.exp
Log Message:
tests/lint: fix test for message 132 to be platform-independent
On i386, the test failed because the warning in line
Module Name:src
Committed By: rillig
Date: Tue Apr 19 22:40:13 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_132.c msg_132.exp
Log Message:
tests/lint: add test case for integer non-constant expression
Seen in sqlite3.c.
To generate a diff of this commit:
Module Name:src
Committed By: rillig
Date: Tue Apr 19 22:40:13 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_132.c msg_132.exp
Log Message:
tests/lint: add test case for integer non-constant expression
Seen in sqlite3.c.
To generate a diff of this commit:
Module Name:src
Committed By: rillig
Date: Tue Apr 19 19:56:30 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_298.c msg_298.exp
Log Message:
tests/lint: demonstrate wrong warnings for conversion from long to char
To generate a diff of this commit:
cvs rdiff
Module Name:src
Committed By: rillig
Date: Tue Apr 19 19:56:30 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_298.c msg_298.exp
Log Message:
tests/lint: demonstrate wrong warnings for conversion from long to char
To generate a diff of this commit:
cvs rdiff
Module Name:src
Committed By: rillig
Date: Sat Apr 16 18:41:22 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_259_ilp32.c platform_int.c
Log Message:
tests/lint: fix tests on platforms other than x86_64
In msg_259_ilp32.c 1.6 from 2022-04-15, I removed the
Module Name:src
Committed By: rillig
Date: Sat Apr 16 18:41:22 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_259_ilp32.c platform_int.c
Log Message:
tests/lint: fix tests on platforms other than x86_64
In msg_259_ilp32.c 1.6 from 2022-04-15, I removed the
Module Name:src
Committed By: rillig
Date: Sat Apr 16 09:20:01 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_084.c msg_084.exp
Log Message:
tests/lint: refine test for varargs function
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4
Module Name:src
Committed By: rillig
Date: Sat Apr 16 09:20:01 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_084.c msg_084.exp
Log Message:
tests/lint: refine test for varargs function
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4
Module Name:src
Committed By: rillig
Date: Sun Apr 3 09:34:46 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_090.c msg_090.exp msg_091.c
msg_091.exp msg_092.c msg_092.exp msg_093.c msg_093.exp msg_094.c
msg_094.exp msg_095.c
Module Name:src
Committed By: rillig
Date: Sun Apr 3 09:34:46 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_090.c msg_090.exp msg_091.c
msg_091.exp msg_092.c msg_092.exp msg_093.c msg_093.exp msg_094.c
msg_094.exp msg_095.c
Module Name:src
Committed By: rillig
Date: Fri Apr 1 21:12:42 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: lex_char.c
Log Message:
tests/lint: fix comment about backslash-newline
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5
Module Name:src
Committed By: rillig
Date: Fri Apr 1 21:12:42 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: lex_char.c
Log Message:
tests/lint: fix comment about backslash-newline
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5
Module Name:src
Committed By: rillig
Date: Mon Mar 14 20:25:26 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_230_uchar.c msg_230_uchar.exp
Log Message:
tests/lint: fix test about "non-portable character constant" on uchar
The warning is wrong, and it has
Module Name:src
Committed By: rillig
Date: Mon Mar 14 20:25:26 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_230_uchar.c msg_230_uchar.exp
Log Message:
tests/lint: fix test about "non-portable character constant" on uchar
The warning is wrong, and it has
Module Name:src
Committed By: rillig
Date: Sun Feb 27 18:57:16 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_219.c msg_219.exp
Log Message:
tests/lint: test where exactly lint complains about concatenation
This only applies to traditional C and ensures that
Module Name:src
Committed By: rillig
Date: Sun Feb 27 18:57:16 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_219.c msg_219.exp
Log Message:
tests/lint: test where exactly lint complains about concatenation
This only applies to traditional C and ensures that
Module Name:src
Committed By: rillig
Date: Sun Feb 27 18:51:21 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_292.c msg_292.exp
Log Message:
tests/lint: demonstrate unexpected ordering of string concatenations
When lint concatenates the strings "1" "2" "3"
Module Name:src
Committed By: rillig
Date: Sun Feb 27 18:51:21 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_292.c msg_292.exp
Log Message:
tests/lint: demonstrate unexpected ordering of string concatenations
When lint concatenates the strings "1" "2" "3"
Module Name:src
Committed By: rillig
Date: Sun Feb 27 12:00:27 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_047.c msg_047.exp msg_313.c
msg_313.exp msg_315.c msg_315.exp msg_317.c msg_317.exp msg_319.c
msg_319.exp msg_321.c
Module Name:src
Committed By: rillig
Date: Sun Feb 27 12:00:27 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_047.c msg_047.exp msg_313.c
msg_313.exp msg_315.c msg_315.exp msg_317.c msg_317.exp msg_319.c
msg_319.exp msg_321.c
Module Name:src
Committed By: rillig
Date: Sat Feb 26 16:43:20 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: t_integration.sh
Log Message:
tests/lint: demonstrate assertion failure in GCC compound expression
To generate a diff of this commit:
cvs rdiff -u
Module Name:src
Committed By: rillig
Date: Sat Feb 26 16:43:20 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: t_integration.sh
Log Message:
tests/lint: demonstrate assertion failure in GCC compound expression
To generate a diff of this commit:
cvs rdiff -u
Module Name:src
Committed By: rillig
Date: Sat Feb 26 11:13:01 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_230.c msg_230_uchar.c
Log Message:
tests/lint: sync tests for platform-dependent character comparisons
To generate a diff of this commit:
cvs rdiff
Module Name:src
Committed By: rillig
Date: Sat Feb 26 11:13:01 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_230.c msg_230_uchar.c
Log Message:
tests/lint: sync tests for platform-dependent character comparisons
To generate a diff of this commit:
cvs rdiff
Module Name:src
Committed By: rillig
Date: Sat Feb 12 01:23:44 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: d_c99_decls_after_stmt.c
d_c99_decls_after_stmt2.c d_c99_decls_after_stmt3.c
Log Message:
tests/lint: document where some C99 tests come from
Module Name:src
Committed By: rillig
Date: Sat Feb 12 01:23:44 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: d_c99_decls_after_stmt.c
d_c99_decls_after_stmt2.c d_c99_decls_after_stmt3.c
Log Message:
tests/lint: document where some C99 tests come from
Module Name:src
Committed By: rillig
Date: Mon Feb 7 02:39:10 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_041.c msg_041.exp
Log Message:
tests/lint: add test for message 41 about bit-field in union
See PR toolchain/53219.
To generate a diff of this
Module Name:src
Committed By: rillig
Date: Mon Feb 7 02:39:10 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_041.c msg_041.exp
Log Message:
tests/lint: add test for message 41 about bit-field in union
See PR toolchain/53219.
To generate a diff of this
Module Name:src
Committed By: rillig
Date: Sun Jan 16 10:11:38 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_193.c msg_193.exp
Log Message:
tests/lint: document why accidental double semicolons are hard to detect
To generate a diff of this commit:
cvs
Module Name:src
Committed By: rillig
Date: Sun Jan 16 10:11:38 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_193.c msg_193.exp
Log Message:
tests/lint: document why accidental double semicolons are hard to detect
To generate a diff of this commit:
cvs
Module Name:src
Committed By: rillig
Date: Sun Jan 16 08:40:31 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: d_c99_bool.c d_c99_bool.exp
Log Message:
tests/lint: update comment to reality
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9
Module Name:src
Committed By: rillig
Date: Sun Jan 16 08:40:31 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: d_c99_bool.c d_c99_bool.exp
Log Message:
tests/lint: update comment to reality
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9
Module Name:src
Committed By: rillig
Date: Sat Jan 15 22:12:35 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_193.c
Log Message:
tests/lint: demonstrate undetected double semicolon
In a statement-list like 'return 0;;', the second semicolon is a
separate,
Module Name:src
Committed By: rillig
Date: Sat Jan 15 22:12:35 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_193.c
Log Message:
tests/lint: demonstrate undetected double semicolon
In a statement-list like 'return 0;;', the second semicolon is a
separate,
Module Name:src
Committed By: rillig
Date: Sat Jan 15 14:22:03 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: c11_generic_expression.c
c11_generic_expression.exp c99_init_designator.c
c99_init_designator.exp d_c99_bool.c d_c99_bool.exp
Module Name:src
Committed By: rillig
Date: Sat Jan 15 14:22:03 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint1: c11_generic_expression.c
c11_generic_expression.exp c99_init_designator.c
c99_init_designator.exp d_c99_bool.c d_c99_bool.exp
Module Name:src
Committed By: rillig
Date: Tue Dec 28 22:54:08 UTC 2021
Modified Files:
src/tests/usr.bin/xlint/lint1: d_c99_init.c d_c99_init.exp
Log Message:
tests/lint: extend documentation for omitted braces in initializer
To generate a diff of this commit:
cvs
Module Name:src
Committed By: rillig
Date: Tue Dec 28 22:54:08 UTC 2021
Modified Files:
src/tests/usr.bin/xlint/lint1: d_c99_init.c d_c99_init.exp
Log Message:
tests/lint: extend documentation for omitted braces in initializer
To generate a diff of this commit:
cvs
Module Name:src
Committed By: rillig
Date: Wed Dec 22 14:32:31 UTC 2021
Modified Files:
src/tests/usr.bin/xlint/lint1: d_c99_init.c
Log Message:
tests/lint: improve test for initialization of array of unknown size
Previously, the test didn't show that the size of the
Module Name:src
Committed By: rillig
Date: Wed Dec 22 14:32:31 UTC 2021
Modified Files:
src/tests/usr.bin/xlint/lint1: d_c99_init.c
Log Message:
tests/lint: improve test for initialization of array of unknown size
Previously, the test didn't show that the size of the
201 - 300 of 416 matches
Mail list logo