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


Keyword substitution: kv
Default branch: MAIN


Revision 1.6
Fri Jun 17 20:23:58 2022 UTC (2 years, 7 months ago) by rillig
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, HEAD
FILE REMOVED
Changes since revision 1.5: +0 -0 lines
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 - view: text, markup, annotated - select for diffs
Thu May 12 20:57:49 2022 UTC (2 years, 9 months ago) by rillig
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +0 -2 lines
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 - view: text, markup, annotated - select for diffs
Thu May 12 20:49:21 2022 UTC (2 years, 9 months ago) by rillig
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -0 lines
tests/lint: add more tests for __alignof__

Revision 1.3: download - view: text, markup, annotated - select for diffs
Thu May 12 00:28:01 2022 UTC (2 years, 9 months ago) by rillig
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +3 -7 lines
lint: add support for __alignof__ expr, a GCC extension

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

Revision 1.2: download - view: text, markup, annotated - select for diffs
Thu May 12 00:18:35 2022 UTC (2 years, 9 months ago) by rillig
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +10 -10 lines
lint: fix support for __alignof__, add support for __alignof

Broken since lex.c 1.129 from yesterday.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Thu May 12 00:09:44 2022 UTC (2 years, 9 months ago) by rillig
Branches: 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.

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>