Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/usr.bin/xlint/lint1
Module Name: src
Committed By: rillig
Date: Fri Apr 1 01:06:26 UTC 2022
Modified Files:
src/usr.bin/xlint/lint1: tree.c
Log Message:
lint: replace crash with assertion failure
Triggered by 'sizeof(int())'.
GCC evaluates this expression to 1, without any warning.
Clang warns about an "invalid application of 'sizeof' to a function
type".
To generate a diff of this commit:
cvs rdiff -u -r1.411 -r1.412 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.
Home |
Main Index |
Thread Index |
Old Index