The NetBSD Project

CVS log for src/tests/usr.bin/xlint/lint1/Attic/d_alignof.exp

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.6, Fri Jun 17 20:23:58 2022 UTC (21 months, 4 weeks ago) by rillig
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +0 -0 lines
FILE REMOVED

tests/lint: remove .exp files, as they have become redundant

Now that each lint1 test lists all generated diagnostics as 'expect'
comments, the information from the .exp files is no longer needed.  The
only information that gets lost is the order of the diagnostics, which
is mostly relevant for paired messages like 'inconsistent definition' +
'previous definition was here'.

Revision 1.5 / (download) - annotate - [select for diffs], Thu May 12 20:57:49 2022 UTC (23 months ago) by rillig
Branch: MAIN
Changes since 1.4: +0 -2 lines
Diff to previous 1.4 (colored)

lint: merge duplicate grammar rules for __alignof__ expr

This allows expressions like '__alignof__(ptr)->member', just as with
'sizeof'.

The upper rule in the grammar was preferred over the lower rule since it
shifted the T_LPAREN instead of reducing unary_expression.  Its
implementation invoked undefined behavior if the expression was NULL
since it didn't assign anything to $$.

Revision 1.4 / (download) - annotate - [select for diffs], Thu May 12 20:49:21 2022 UTC (23 months ago) by rillig
Branch: MAIN
Changes since 1.3: +2 -0 lines
Diff to previous 1.3 (colored)

tests/lint: add more tests for __alignof__

Revision 1.3 / (download) - annotate - [select for diffs], Thu May 12 00:28:01 2022 UTC (23 months ago) by rillig
Branch: MAIN
Changes since 1.2: +3 -7 lines
Diff to previous 1.2 (colored)

lint: add support for __alignof__ expr, a GCC extension

Seen in lib/libc/gmon/gmon.c:153.

Revision 1.2 / (download) - annotate - [select for diffs], Thu May 12 00:18:35 2022 UTC (23 months ago) by rillig
Branch: MAIN
Changes since 1.1: +10 -10 lines
Diff to previous 1.1 (colored)

lint: fix support for __alignof__, add support for __alignof

Broken since lex.c 1.129 from yesterday.

Revision 1.1 / (download) - annotate - [select for diffs], Thu May 12 00:09:44 2022 UTC (23 months ago) by rillig
Branch: MAIN

tests/lint: adjust tests to reflect missing support of __alignof__

The change in lex.c 1.129 attempted to add support for __alignof, in
addition to the existing support for __alignof__.  It failed by removing
support for __alignof__, while allowing the plain 'alignof' instead.

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>