Module Name: src Committed By: rillig Date: Tue Aug 3 17:44:59 UTC 2021
Modified Files: src/usr.bin/xlint/common: emit.c externs.h tyname.c src/usr.bin/xlint/lint1: tree.c Log Message: lint: clean up and move 'sametype' This function is only used by lint1. That's good since the lint2 code was completely broken, as it would regard any two struct types as being the same. Remove the large switch statement since it is unlikely that there will be new type derivations in C anytime soon. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/usr.bin/xlint/common/emit.c cvs rdiff -u -r1.17 -r1.18 src/usr.bin/xlint/common/externs.h cvs rdiff -u -r1.43 -r1.44 src/usr.bin/xlint/common/tyname.c cvs rdiff -u -r1.326 -r1.327 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.