#
1.7 |
|
07-May-2024 |
rillig |
tests/lint: show that in C23 mode, bool is not yet defined
The tests in C11 and C23 mode look the same right now but will change soon.
The warnings in the C11 test disappeared because after the first error, warnings about unused variables are suppressed by check_variable_usage, as they are often wrong.
|
#
1.6 |
|
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.5 |
|
03-Aug-2023 |
rillig |
lint: make '_Static_assert' only available in C11 or C23 mode
|
#
1.4 |
|
28-Jul-2023 |
rillig |
tests/lint: test declarations in C11 and C23
|
#
1.3 |
|
13-Jul-2023 |
rillig |
lint: in C23 mode, recognize the keyword 'thread_local'
|
#
1.2 |
|
12-Jul-2023 |
rillig |
lint: reject _Noreturn if it occurs in invalid places
C11 introduced _Noreturn as a function-specifier, not as a type attribute. The latter may occur in more places.
|
#
1.1 |
|
12-Jul-2023 |
rillig |
tests/lint: add test for _Noreturn from C11
|
#
1.6 |
|
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.5 |
|
03-Aug-2023 |
rillig |
lint: make '_Static_assert' only available in C11 or C23 mode
|
#
1.4 |
|
28-Jul-2023 |
rillig |
tests/lint: test declarations in C11 and C23
|
#
1.3 |
|
13-Jul-2023 |
rillig |
lint: in C23 mode, recognize the keyword 'thread_local'
|
#
1.2 |
|
12-Jul-2023 |
rillig |
lint: reject _Noreturn if it occurs in invalid places
C11 introduced _Noreturn as a function-specifier, not as a type attribute. The latter may occur in more places.
|
#
1.1 |
|
12-Jul-2023 |
rillig |
tests/lint: add test for _Noreturn from C11
|
#
1.5 |
|
03-Aug-2023 |
rillig |
lint: make '_Static_assert' only available in C11 or C23 mode
|
#
1.4 |
|
28-Jul-2023 |
rillig |
tests/lint: test declarations in C11 and C23
|
#
1.3 |
|
13-Jul-2023 |
rillig |
lint: in C23 mode, recognize the keyword 'thread_local'
|
#
1.2 |
|
12-Jul-2023 |
rillig |
lint: reject _Noreturn if it occurs in invalid places
C11 introduced _Noreturn as a function-specifier, not as a type attribute. The latter may occur in more places.
|
#
1.1 |
|
12-Jul-2023 |
rillig |
tests/lint: add test for _Noreturn from C11
|
#
1.4 |
|
28-Jul-2023 |
rillig |
tests/lint: test declarations in C11 and C23
|
#
1.3 |
|
13-Jul-2023 |
rillig |
lint: in C23 mode, recognize the keyword 'thread_local'
|
#
1.2 |
|
12-Jul-2023 |
rillig |
lint: reject _Noreturn if it occurs in invalid places
C11 introduced _Noreturn as a function-specifier, not as a type attribute. The latter may occur in more places.
|
#
1.1 |
|
12-Jul-2023 |
rillig |
tests/lint: add test for _Noreturn from C11
|
#
1.3 |
|
13-Jul-2023 |
rillig |
lint: in C23 mode, recognize the keyword 'thread_local'
|
#
1.2 |
|
12-Jul-2023 |
rillig |
lint: reject _Noreturn if it occurs in invalid places
C11 introduced _Noreturn as a function-specifier, not as a type attribute. The latter may occur in more places.
|
#
1.1 |
|
12-Jul-2023 |
rillig |
tests/lint: add test for _Noreturn from C11
|