Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id B993284FA9 for ; Thu, 13 Jul 2023 06:41:28 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id JHvnZrQMax5W for ; Thu, 13 Jul 2023 06:41:28 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 426A284FA4 for ; Thu, 13 Jul 2023 06:41:28 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 3005BFBDB; Thu, 13 Jul 2023 06:41:28 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Thu, 13 Jul 2023 06:41:28 +0000 From: "Roland Illig" Subject: CVS commit: src/usr.bin/xlint/lint1 To: source-changes@NetBSD.org Approved: for-source-only Reply-To: rillig@netbsd.org X-Mailer: log_accum Message-Id: <20230713064128.3005BFBDB@cvs.NetBSD.org> Module Name: src Committed By: rillig Date: Thu Jul 13 06:41:28 UTC 2023 Modified Files: src/usr.bin/xlint/lint1: cgram.y decl.c externs1.h func.c lex.c tree.c Log Message: lint: clean up code related to lint comments Remove type information from variable names, as the word 'flag' did not indicate that the variables were negated. Remove contradicting comments. Suppressing a warning for 'this line', 'this and the following line' and 'this statement or declaration' cannot all be accurate at the same time. To generate a diff of this commit: cvs rdiff -u -r1.457 -r1.458 src/usr.bin/xlint/lint1/cgram.y cvs rdiff -u -r1.349 -r1.350 src/usr.bin/xlint/lint1/decl.c cvs rdiff -u -r1.191 -r1.192 src/usr.bin/xlint/lint1/externs1.h cvs rdiff -u -r1.167 -r1.168 src/usr.bin/xlint/lint1/func.c cvs rdiff -u -r1.178 -r1.179 src/usr.bin/xlint/lint1/lex.c cvs rdiff -u -r1.561 -r1.562 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.