Up to [cvs.NetBSD.org] / src / tests / usr.bin / xlint / lint1
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.20 / (download) - annotate - [select for diffs], Sat Oct 1 09:42:40 2022 UTC (3 months, 4 weeks ago) by rillig
Branch: MAIN
CVS Tags: netbsd-10-base,
netbsd-10,
HEAD
Changes since 1.19: +5 -5
lines
Diff to previous 1.19 (colored)
lint: add hyphen to adjective 'old-style'
Revision 1.19 / (download) - annotate - [select for diffs], Sun Aug 28 08:41:06 2022 UTC (5 months ago) by rillig
Branch: MAIN
Changes since 1.18: +2 -2
lines
Diff to previous 1.18 (colored)
lint: rename dcs manipulation functions to be clearer No functional change.
Revision 1.18 / (download) - annotate - [select for diffs], Wed Jun 22 19:23:18 2022 UTC (7 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.17: +3 -3
lines
Diff to previous 1.17 (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.17 / (download) - annotate - [select for diffs], Fri Jun 17 18:54:53 2022 UTC (7 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.16: +9 -9
lines
Diff to previous 1.16 (colored)
tests/lint: make 'expect+-' comments stricter Previously, the expectations from these comments were already satisfied if the expectation occurred somewhere in the actual message from lint. This meant that the prefix 'error:' or 'warning:' could be omitted from the 'expect' comment. These omissions were hard to see in a manual review. Now any omissions must be visually marked with '...'. The test msg_342 now reports its messages properly as being in the file msg_342.c, rather than msg_341.c. This had been a copy-and-paste mistake.
Revision 1.16 / (download) - annotate - [select for diffs], Sat Jun 11 11:52:13 2022 UTC (7 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.15: +4 -4
lines
Diff to previous 1.15 (colored)
lint: add quotes around a few more placeholders in messages
Revision 1.15 / (download) - annotate - [select for diffs], Sun Apr 24 20:08:23 2022 UTC (9 months ago) by rillig
Branch: MAIN
Changes since 1.14: +4 -1
lines
Diff to previous 1.14 (colored)
lint: error out on declarations with implicit int type
Revision 1.14 / (download) - annotate - [select for diffs], Sun Apr 24 19:21:01 2022 UTC (9 months ago) by rillig
Branch: MAIN
Changes since 1.13: +2 -2
lines
Diff to previous 1.13 (colored)
lint: error out on missing type in declarations
Revision 1.13 / (download) - annotate - [select for diffs], Sun Apr 3 10:05:23 2022 UTC (9 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.12: +9 -1
lines
Diff to previous 1.12 (colored)
lint: fix crash after syntax error in array declaration
Revision 1.12 / (download) - annotate - [select for diffs], Sun Jul 25 22:03:42 2021 UTC (18 months ago) by rillig
Branch: MAIN
Changes since 1.11: +7 -1
lines
Diff to previous 1.11 (colored)
tests/lint: cover every code line in the grammar
Revision 1.11 / (download) - annotate - [select for diffs], Sun Jul 25 08:42:28 2021 UTC (18 months ago) by rillig
Branch: MAIN
Changes since 1.10: +1 -8
lines
Diff to previous 1.10 (colored)
tests/lint: test parsing of type_name
Revision 1.10 / (download) - annotate - [select for diffs], Fri Jul 23 15:21:47 2021 UTC (18 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.9: +7 -1
lines
Diff to previous 1.9 (colored)
tests/lint: test lexer for the GCC extension __thread
Revision 1.9 / (download) - annotate - [select for diffs], Thu Jul 15 23:07:05 2021 UTC (18 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.8: +6 -2
lines
Diff to previous 1.8 (colored)
lint: extract dcs_merge_declaration_specifiers from end_type No functional change.
Revision 1.8 / (download) - annotate - [select for diffs], Thu Jul 15 21:56:51 2021 UTC (18 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.7: +31 -5
lines
Diff to previous 1.7 (colored)
lint: fix internal error for sizeof(typeof)
Revision 1.7 / (download) - annotate - [select for diffs], Thu Jul 15 21:34:11 2021 UTC (18 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.6: +9 -1
lines
Diff to previous 1.6 (colored)
tests/lint: cover abstract_declaration, discover internal error
Revision 1.6 / (download) - annotate - [select for diffs], Thu Jul 15 21:00:05 2021 UTC (18 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.5: +4 -1
lines
Diff to previous 1.5 (colored)
tests/lint: cover more edge cases in the parser
Revision 1.5 / (download) - annotate - [select for diffs], Wed Jul 14 20:39:13 2021 UTC (18 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.4: +26 -1
lines
Diff to previous 1.4 (colored)
tests/lint: add several tests for edge cases in the grammar
Revision 1.4 / (download) - annotate - [select for diffs], Sun Jul 11 15:07:39 2021 UTC (18 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.3: +5 -4
lines
Diff to previous 1.3 (colored)
lint: fix bug when parsing unused variable (since 2021-07-10) Partially revert to cgram.y 1.248 from 2021-06-29. This fixes the parse error for variables whose declaration starts with __attribute__((unused)). In the many refactorings of the last days this bug has slipped in, and since there were several refactorings in that area, there may be have been further bugs that are not caught by the current test suite. Revert for now and maybe apply them later again when there are more tests. Things kept from the current version are: The names of most of the rules, as they correspond more closely to C99 and do not affect the behavior in any way. In type_direct_decl, the replacement of type_attribute_list with type_attribute since that nonterminal is already part of a repetition (saves 4 conflicts). In block_item, the order of the rules corresponds to C99. This has no influence on the generated parser, except for the rule numbers, which are informative. The merge of the duplicate code for struct_tag, enum_tag and enum_constant, as they all contained exactly the same code.
Revision 1.3 / (download) - annotate - [select for diffs], Sun Jul 11 12:12:30 2021 UTC (18 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.2: +13 -1
lines
Diff to previous 1.2 (colored)
tests/lint: parse error for unused variable (since 2021-07-10) Since cgram.y 1.294 from 2021-07-10.
Revision 1.2 / (download) - annotate - [select for diffs], Sat Jul 10 19:30:19 2021 UTC (18 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.1: +16 -1
lines
Diff to previous 1.1 (colored)
tests/lint: test error handling in enum-specifier
Revision 1.1 / (download) - annotate - [select for diffs], Sat Jul 10 18:25:57 2021 UTC (18 months, 2 weeks ago) by rillig
Branch: MAIN
tests/lint: test declarations