Up to [cvs.NetBSD.org] / src / tests / usr.bin / xlint / lint1
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.13, Fri Jun 17 20:23:58 2022 UTC (7 months, 3 weeks ago) by rillig
Branch: MAIN
CVS Tags: HEAD
Changes since 1.12: +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.12 / (download) - annotate - [select for diffs], Sat Jun 11 11:52:13 2022 UTC (7 months, 4 weeks ago) by rillig
Branch: MAIN
Changes since 1.11: +2 -2
lines
Diff to previous 1.11 (colored)
lint: add quotes around a few more placeholders in messages
Revision 1.11 / (download) - annotate - [select for diffs], Sun Apr 24 20:08:23 2022 UTC (9 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.10: +8 -5
lines
Diff to previous 1.10 (colored)
lint: error out on declarations with implicit int type
Revision 1.10 / (download) - annotate - [select for diffs], Sun Apr 24 19:21:01 2022 UTC (9 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.9: +1 -0
lines
Diff to previous 1.9 (colored)
lint: error out on missing type in declarations
Revision 1.9 / (download) - annotate - [select for diffs], Sun Apr 3 10:05:23 2022 UTC (10 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.8: +2 -0
lines
Diff to previous 1.8 (colored)
lint: fix crash after syntax error in array declaration
Revision 1.8 / (download) - annotate - [select for diffs], Sun Jul 25 22:03:42 2021 UTC (18 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.7: +1 -0
lines
Diff to previous 1.7 (colored)
tests/lint: cover every code line in the grammar
Revision 1.7 / (download) - annotate - [select for diffs], Sun Jul 25 08:42:28 2021 UTC (18 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.6: +2 -2
lines
Diff to previous 1.6 (colored)
tests/lint: test parsing of type_name
Revision 1.6 / (download) - annotate - [select for diffs], Fri Jul 23 15:21:47 2021 UTC (18 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.5: +2 -0
lines
Diff to previous 1.5 (colored)
tests/lint: test lexer for the GCC extension __thread
Revision 1.5 / (download) - annotate - [select for diffs], Wed Jul 14 20:39:13 2021 UTC (18 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.4: +1 -0
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, 4 weeks ago) by rillig
Branch: MAIN
Changes since 1.3: +0 -3
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, 4 weeks ago) by rillig
Branch: MAIN
Changes since 1.2: +3 -0
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 (19 months ago) by rillig
Branch: MAIN
Changes since 1.1: +1 -0
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 (19 months ago) by rillig
Branch: MAIN
tests/lint: test declarations