Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src
Module Name: src
Committed By: rillig
Date: Wed Jul 12 18:26:04 UTC 2023
Modified Files:
src/tests/usr.bin/xlint/lint1: c11.c
src/usr.bin/xlint/lint1: cgram.y debug.c lex.c lint1.h
Log Message:
lint: reject _Noreturn if it occurs in invalid places
C11 introduced _Noreturn as a function-specifier, not as a type
attribute. The latter may occur in more places.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/usr.bin/xlint/lint1/c11.c
cvs rdiff -u -r1.456 -r1.457 src/usr.bin/xlint/lint1/cgram.y
cvs rdiff -u -r1.50 -r1.51 src/usr.bin/xlint/lint1/debug.c
cvs rdiff -u -r1.176 -r1.177 src/usr.bin/xlint/lint1/lex.c
cvs rdiff -u -r1.186 -r1.187 src/usr.bin/xlint/lint1/lint1.h
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