Module Name: src Committed By: rillig Date: Sat Feb 20 18:52:58 UTC 2021
Modified Files: src/tests/usr.bin/xlint/lint1: d_c99_bool_strict.c d_c99_bool_strict.exp Log Message: lint: add test for 'do { ... } while (false)' in strict bool mode Right now, this variant of the popular macro pattern is flagged as needing a /*CONSTCOND*/ annotation. As with 'do { ... } while (0)', there is nothing wrong with this pattern, therefore there should be no warning. To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/tests/usr.bin/xlint/lint1/d_c99_bool_strict.c cvs rdiff -u -r1.17 -r1.18 \ src/tests/usr.bin/xlint/lint1/d_c99_bool_strict.exp Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.