Module Name: src Committed By: rillig Date: Sun Feb 21 14:19:27 UTC 2021
Modified Files: src/tests/usr.bin/xlint/lint1: d_c99_init.c src/usr.bin/xlint/common: tyname.c src/usr.bin/xlint/lint1: init.c Log Message: lint: add debug logging for initializing an array of unknown size It is possible that the type name 'array[unknown_size]' may spill into the user-visible diagnostics. The current test suite does not cover such a case. Anyway, saying 'array[unknown_size]' is still better than saying 'array[0]', which would be misleading. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/tests/usr.bin/xlint/lint1/d_c99_init.c cvs rdiff -u -r1.30 -r1.31 src/usr.bin/xlint/common/tyname.c cvs rdiff -u -r1.84 -r1.85 src/usr.bin/xlint/lint1/init.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.