Module Name: src Committed By: rillig Date: Sat Jan 16 16:53:24 UTC 2021
Modified Files: src/usr.bin/xlint/common: tyname.c src/usr.bin/xlint/lint1: decl.c emit1.c func.c init.c lint1.h main1.c tree.c src/usr.bin/xlint/lint2: chk.c read.c src/usr.bin/xlint/xlint: xlint.c Log Message: lint: replace integer constant expressions with true and false LINTFLAGS=-gST make lint, with manual review. The error messages from lint are all correct, they are not complete though. The return value of a function returning bool may still be compared to the integer 0. To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/usr.bin/xlint/common/tyname.c cvs rdiff -u -r1.123 -r1.124 src/usr.bin/xlint/lint1/decl.c cvs rdiff -u -r1.37 -r1.38 src/usr.bin/xlint/lint1/emit1.c cvs rdiff -u -r1.59 -r1.60 src/usr.bin/xlint/lint1/func.c cvs rdiff -u -r1.62 -r1.63 src/usr.bin/xlint/lint1/init.c cvs rdiff -u -r1.56 -r1.57 src/usr.bin/xlint/lint1/lint1.h cvs rdiff -u -r1.36 -r1.37 src/usr.bin/xlint/lint1/main1.c cvs rdiff -u -r1.156 -r1.157 src/usr.bin/xlint/lint1/tree.c cvs rdiff -u -r1.34 -r1.35 src/usr.bin/xlint/lint2/chk.c cvs rdiff -u -r1.37 -r1.38 src/usr.bin/xlint/lint2/read.c cvs rdiff -u -r1.55 -r1.56 src/usr.bin/xlint/xlint/xlint.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.