The NetBSD Project

CVS log for src/tests/usr.bin/xlint/lint1/c11.c

[BACK] Up to [cvs.NetBSD.org] / src / tests / usr.bin / xlint / lint1

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.6 / (download) - annotate - [select for diffs], Sun Jan 28 08:17:27 2024 UTC (4 weeks, 4 days ago) by rillig
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +7 -7 lines
Diff to previous 1.5 (colored)

tests/lint: sort multiple diagnostics per line chronologically

For now, the chronologic order is not enforced but has to be established
manually, for example by removing all 'expect' comment lines and
regenerating them with 'accept.sh -u'.

While here, clean up a few instances that came up when regenerating the
'expect' comments, such as wrong indentation or needless deviation from
the 'expect+1' form.

Revision 1.5 / (download) - annotate - [select for diffs], Thu Aug 3 18:48:42 2023 UTC (6 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.4: +5 -4 lines
Diff to previous 1.4 (colored)

lint: make '_Static_assert' only available in C11 or C23 mode

Revision 1.4 / (download) - annotate - [select for diffs], Fri Jul 28 22:05:44 2023 UTC (7 months ago) by rillig
Branch: MAIN
Changes since 1.3: +105 -2 lines
Diff to previous 1.3 (colored)

tests/lint: test declarations in C11 and C23

Revision 1.3 / (download) - annotate - [select for diffs], Thu Jul 13 20:30:21 2023 UTC (7 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.2: +7 -1 lines
Diff to previous 1.2 (colored)

lint: in C23 mode, recognize the keyword 'thread_local'

Revision 1.2 / (download) - annotate - [select for diffs], Wed Jul 12 18:26:04 2023 UTC (7 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.1: +8 -4 lines
Diff to previous 1.1 (colored)

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.

Revision 1.1 / (download) - annotate - [select for diffs], Wed Jul 12 18:13:39 2023 UTC (7 months, 2 weeks ago) by rillig
Branch: MAIN

tests/lint: add test for _Noreturn from C11

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>