Module Name: src Committed By: rillig Date: Wed Jun 15 18:29:21 UTC 2022
Modified Files: src/usr.bin/xlint/lint1: ckbool.c externs1.h func.c op.h tree.c Log Message: lint: rename mod_t.m_requires_bool to m_compares_with_zero The operators NOT, LOGAND, LOGOR and QUEST only require _Bool in strict bool mode, in default mode they accept any scalar expression and compare it with zero. The new names are more accurate. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/usr.bin/xlint/lint1/ckbool.c cvs rdiff -u -r1.161 -r1.162 src/usr.bin/xlint/lint1/externs1.h cvs rdiff -u -r1.139 -r1.140 src/usr.bin/xlint/lint1/func.c cvs rdiff -u -r1.19 -r1.20 src/usr.bin/xlint/lint1/op.h cvs rdiff -u -r1.452 -r1.453 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.