Module Name: src
Committed By: rillig
Date: Sun Jan 24 10:55:11 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: tree.c
Log Message:
lint: clean up typeok_eq and check_pointer_comparison
Since typeok_eq does not issue any diagnostics, prefix it with "is_".
By convention, the variable rt aliases rn->tn_type->t_tspec. Make it
obvious that in check_pointer_comparison, rt corresponds to the subtype
of the pointer.
To generate a diff of this commit:
cvs rdiff -u -r1.186 -r1.187 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.