Module Name: src Committed By: rillig Date: Sat Apr 30 21:38:03 UTC 2022
Modified Files: src/usr.bin/xlint/lint1: cgram.y decl.c externs1.h func.c init.c lex.c main1.c tree.c Log Message: lint: inline macro 'tflag' The definition of the macro tested both allow_trad and allow_c90, but there is only a single mode in which allow_c90 is false, therefore it suffices to test only that. While double-checking each occurrence of tflag individually, I learned why lint performs lookups of struct members only by name, independently of the struct in which they are declared. See typeok_arrow for details. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.408 -r1.409 src/usr.bin/xlint/lint1/cgram.y cvs rdiff -u -r1.278 -r1.279 src/usr.bin/xlint/lint1/decl.c cvs rdiff -u -r1.158 -r1.159 src/usr.bin/xlint/lint1/externs1.h cvs rdiff -u -r1.133 -r1.134 src/usr.bin/xlint/lint1/func.c cvs rdiff -u -r1.233 -r1.234 src/usr.bin/xlint/lint1/init.c cvs rdiff -u -r1.126 -r1.127 src/usr.bin/xlint/lint1/lex.c cvs rdiff -u -r1.60 -r1.61 src/usr.bin/xlint/lint1/main1.c cvs rdiff -u -r1.437 -r1.438 src/usr.bin/xlint/lint1/tree.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.