History log of /src/tests/usr.bin/xlint/lint1/msg_343.c |
Revision | | Date | Author | Comments |
1.11 |
| 28-Jan-2024 |
rillig | tests/lint: sort multiple diagnostics per line chronologically
For now, the chronologic order is not enforced but has to be established manually, for example by removing all 'expect' comment lines and regenerating them with 'accept.sh -u'.
While here, clean up a few instances that came up when regenerating the 'expect' comments, such as wrong indentation or needless deviation from the 'expect+1' form.
|
1.10 |
| 14-Sep-2023 |
rillig | lint: fix wording of diagnostics about 'C99 extension'
The term 'extension' means an extension to a C standard. C99 by itself is not an extension but a revision of the C standard.
|
1.9 |
| 28-Mar-2023 |
rillig | lint: warn about extern declarations outside headers
https://mail-index.netbsd.org/tech-userlevel/2023/03/15/msg013727.html
|
1.8 |
| 21-Jun-2022 |
rillig | lint: add quotes and details to some more messages
|
1.7 |
| 17-Jun-2022 |
rillig | 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.
|
1.6 |
| 17-Jun-2022 |
rillig | tests/lint: add more details to tests from msg_300 until msg_343
|
1.5 |
| 15-Jul-2021 |
rillig | tests/lint: cover more edge cases in the parser
|
1.4 |
| 14-Apr-2021 |
rillig | tests/lint: adjust test for C11 to the change in grammar and options
|
1.3 |
| 14-Apr-2021 |
rillig | lint: add option to accept C11 features
The list of available letters for the command line options gets shorter and shorter. Most of the interesting letters are already used for some warning categories. Curiously, -A, -W and -E were all still available.
The option -A nicely matches the intention of the option, which is to allow a certain set of language features. To keep the option available for further extensions, define -Ac11 as the currently only valid option of that kind. This allows straight-forward extension for C17 and future language standards, as well as independent feature-sets. The options -W and -E may someday complement the -A option, using the allow/warn/error categories.
|
1.2 |
| 14-Apr-2021 |
rillig | lint: add support for C11-isms such as int[static 3]
|
1.1 |
| 14-Apr-2021 |
rillig | lint: add test for newly added message about static array size
|