The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.13 / (download) - annotate - [select for diffs], Tue Mar 28 14:44:34 2023 UTC (10 months, 4 weeks ago) by rillig
Branch: MAIN
CVS Tags: HEAD
Changes since 1.12: +3 -1 lines
Diff to previous 1.12 (colored)

lint: warn about extern declarations outside headers

https://mail-index.netbsd.org/tech-userlevel/2023/03/15/msg013727.html

Revision 1.12 / (download) - annotate - [select for diffs], Sun Feb 5 10:57:48 2023 UTC (12 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.11: +1 -10 lines
Diff to previous 1.11 (colored)

tests/lint: clean up

The .exp files are no longer kept under version control, so there's no
reason anymore to forcefully trigger a warning or an error.

Revision 1.11 / (download) - annotate - [select for diffs], Wed Jun 22 19:23:18 2022 UTC (20 months ago) by rillig
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)

lint: add quotes around placeholders for the remaining messages

Reword some of the messages slightly, exchanging brevity for clarity.

Message 138 is kept as-is, as it is not yet covered by any tests.

Message 240 is kep as-is, as it is unreachable.

Revision 1.10 / (download) - annotate - [select for diffs], Sun Jun 19 12:14:34 2022 UTC (20 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

lint: add quotes around placeholders in 4 messages

Revision 1.9 / (download) - annotate - [select for diffs], Sat Jan 15 14:22:03 2022 UTC (2 years, 1 month ago) by rillig
Branch: MAIN
Changes since 1.8: +3 -2 lines
Diff to previous 1.8 (colored)

tests/lint: expect complete messages in feature tests

Previously, the tests contained many comments like /* expect: 123 */,
which were useless to a casual reader since nobody is expected to learn
lint's message IDs by heart.  Replace these with the complete
diagnostics, to show what lint is complaining about.

The tests named msg_*.c have been left unmodified since they mention the
full message text in their header comment.

No functional change.

Revision 1.8 / (download) - annotate - [select for diffs], Sun Jul 11 19:39:00 2021 UTC (2 years, 7 months ago) by rillig
Branch: MAIN
Changes since 1.7: +11 -1 lines
Diff to previous 1.7 (colored)

tests/lint: test precedence of __real__ and cast_expression

Revision 1.7 / (download) - annotate - [select for diffs], Fri Apr 9 21:42:12 2021 UTC (2 years, 10 months ago) by rillig
Branch: MAIN
CVS Tags: cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.6: +34 -4 lines
Diff to previous 1.6 (colored)

lint: fix wrong warning about uninitialized _Complex variable

Seen in divxc3.c.

Revision 1.6 / (download) - annotate - [select for diffs], Fri Apr 9 21:07:39 2021 UTC (2 years, 10 months ago) by rillig
Branch: MAIN
Changes since 1.5: +33 -1 lines
Diff to previous 1.5 (colored)

tests/lint: demonstrate wrong lint warning about complex variables

Revision 1.5 / (download) - annotate - [select for diffs], Sat Mar 27 13:59:18 2021 UTC (2 years, 11 months ago) by rillig
Branch: MAIN
Changes since 1.4: +6 -1 lines
Diff to previous 1.4 (colored)

tests/lint: move description of tests into the tests themselves

In most cases the descriptions didn't add much to the test name anyway.

Revision 1.4 / (download) - annotate - [select for diffs], Sun Jan 31 14:57:28 2021 UTC (3 years ago) by rillig
Branch: MAIN
Changes since 1.3: +11 -6 lines
Diff to previous 1.3 (colored)

lint: format tests in a common style

The lint tests do not focus on the whitespace since that is the most
boring part of code style.  Therefore, format the tests to be readable
by following share/misc/style as close as possible.

Revision 1.3 / (download) - annotate - [select for diffs], Sun Jan 31 14:39:31 2021 UTC (3 years ago) by rillig
Branch: MAIN
Changes since 1.2: +3 -0 lines
Diff to previous 1.2 (colored)

lint: add common header for all tests

For those tests that didn't use GCC-style line markers such as "# 2",
the line numbers of the diagnostics stay the same.  This is purely
conincidental.  Before, the 3 lines came from lint's built-in
definitions (see 'builtins' in main1.c), and line number counting
continued as if nothing had happened, making the first line of the
actual file line 4.  These 3 built-in lines are now replaced with 3
lines of file header.

Revision 1.2.8.2 / (download) - annotate - [select for diffs], Wed Aug 20 00:04:53 2014 UTC (9 years, 6 months ago) by tls
Branch: tls-maxphys
Changes since 1.2.8.1: +8 -0 lines
Diff to previous 1.2.8.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.2.4.2 / (download) - annotate - [select for diffs], Sun Aug 10 06:57:37 2014 UTC (9 years, 6 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.2.4.1: +8 -0 lines
Diff to previous 1.2.4.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

Rebase.

Revision 1.2.2.2 / (download) - annotate - [select for diffs], Thu May 22 11:42:24 2014 UTC (9 years, 9 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.2.2.1: +8 -0 lines
Diff to previous 1.2.2.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.2.8.1, Mon Apr 21 19:09:52 2014 UTC (9 years, 10 months ago) by tls
Branch: tls-maxphys
Changes since 1.2: +0 -8 lines
FILE REMOVED

file d_c99_complex_split.c was added on branch tls-maxphys on 2014-08-20 00:04:53 +0000

Revision 1.2.4.1, Mon Apr 21 19:09:52 2014 UTC (9 years, 10 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.2: +0 -8 lines
FILE REMOVED

file d_c99_complex_split.c was added on branch tls-earlyentropy on 2014-08-10 06:57:37 +0000

Revision 1.2.2.1, Mon Apr 21 19:09:52 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.2: +0 -8 lines
FILE REMOVED

file d_c99_complex_split.c was added on branch yamt-pagecache on 2014-05-22 11:42:24 +0000

Revision 1.2 / (download) - annotate - [select for diffs], Mon Apr 21 19:09:52 2014 UTC (9 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, is-mlppp-base, is-mlppp, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: yamt-pagecache, tls-maxphys, tls-earlyentropy
Changes since 1.1: +4 -1 lines
Diff to previous 1.1 (colored)

use a different function instead of __builtin_isnan, because it is polymorphic
and we don't handle this yet.

Revision 1.1 / (download) - annotate - [select for diffs], Thu Apr 17 18:34:44 2014 UTC (9 years, 10 months ago) by christos
Branch: MAIN

add more tests

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>