Module Name: src Committed By: rillig Date: Thu Nov 28 22:32:53 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 queries for typedefs to struct/union and their pointers As suggested in share/misc/style since 1.75 from August 2023. These are queries instead of warnings as the number of false positives or historical practice is too high; these queries are only intended for detecting these typedefs on newly added types. To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31 src/tests/usr.bin/xlint/lint1/queries.c cvs rdiff -u -r1.24 -r1.25 src/tests/usr.bin/xlint/lint1/t_usage.sh cvs rdiff -u -r1.408 -r1.409 src/usr.bin/xlint/lint1/decl.c cvs rdiff -u -r1.255 -r1.256 src/usr.bin/xlint/lint1/err.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.