Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src




To: source-changes%NetBSD.org@localhost

Subject: CVS commit: src

From: "Roland Illig" <rillig%netbsd.org@localhost>

Date: Sun, 21 Feb 2021 14:19:27 +0000


Module Name:    src
Committed By:   rillig
Date:           Sun Feb 21 14:19:27 UTC 2021

Modified Files:
        src/tests/usr.bin/xlint/lint1: d_c99_init.c
        src/usr.bin/xlint/common: tyname.c
        src/usr.bin/xlint/lint1: init.c

Log Message:
lint: add debug logging for initializing an array of unknown size

It is possible that the type name 'array[unknown_size]' may spill into
the user-visible diagnostics.  The current test suite does not cover
such a case.  Anyway, saying 'array[unknown_size]' is still better than
saying 'array[0]', which would be misleading.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/tests/usr.bin/xlint/lint1/d_c99_init.c
cvs rdiff -u -r1.30 -r1.31 src/usr.bin/xlint/common/tyname.c
cvs rdiff -u -r1.84 -r1.85 src/usr.bin/xlint/lint1/init.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.






Prev by Date: CVS commit: src/usr.bin/xlint/lint1

Next by Date: CVS commit: src/tests/usr.bin/xlint/lint1

Previous by Thread: CVS commit: src/usr.bin/xlint/lint1

Next by Thread: CVS commit: src/tests/usr.bin/xlint/lint1

Indexes:

reverse Date

reverse Thread

Old Index



Home | Main Index | Thread Index | Old Index