Module Name: src Committed By: rillig Date: Sat Feb 20 22:31:20 UTC 2021
Modified Files: src/tests/usr.bin/xlint/lint1: d_c99_anon_union.c d_c99_nested_struct.c d_c99_recursive_init.c d_c99_struct_init.c d_c99_union_init1.c d_c99_union_init3.c d_c9x_array_init.c d_c9x_recursive_init.c Log Message: lint: clean up some of the C99 tests Several C99 tests do not actually test C99 features but instead GCC features. All these tests should be double-checked again. In some other tests, split the initializers into more lines, which makes it easier to read the debug log corresponding to these tests. This will be necessary for reworking the initializer code to actually conform to C99. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/tests/usr.bin/xlint/lint1/d_c99_anon_union.c \ src/tests/usr.bin/xlint/lint1/d_c99_nested_struct.c \ src/tests/usr.bin/xlint/lint1/d_c99_struct_init.c \ src/tests/usr.bin/xlint/lint1/d_c99_union_init1.c cvs rdiff -u -r1.4 -r1.5 src/tests/usr.bin/xlint/lint1/d_c99_recursive_init.c \ src/tests/usr.bin/xlint/lint1/d_c99_union_init3.c cvs rdiff -u -r1.2 -r1.3 src/tests/usr.bin/xlint/lint1/d_c9x_array_init.c \ src/tests/usr.bin/xlint/lint1/d_c9x_recursive_init.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.