#
1ad29d45 |
| 21-Aug-2021 |
rillig <rillig@NetBSD.org> |
tests/lint: guard against typos in test environment configuration
Some tests had "lint1-only-if" without a trailing colon, others included the trailing colon. The tests that included the trailing c
tests/lint: guard against typos in test environment configuration
Some tests had "lint1-only-if" without a trailing colon, others included the trailing colon. The tests that included the trailing colon were run even though they were supposed to be skipped, and they failed, as could be expected.
To prevent further typos, always require the trailing colon, just as in "lint1-flags" and fail fast on unknown "lint1" comments.
show more ...
|
#
2101b0e9 |
| 31-Jul-2021 |
rillig <rillig@NetBSD.org> |
lint: improve support for __int128_t and __uint128_t
For the .ln files, I chose the letter 'J' to represent the 128-bit integer types since it is close to 'I' for int. The naming of 'L' for 'long'
lint: improve support for __int128_t and __uint128_t
For the .ln files, I chose the letter 'J' to represent the 128-bit integer types since it is close to 'I' for int. The naming of 'L' for 'long' is obvious, but 'Q' for 64-bit integers is a quad-16-bit word, which is an unusual measurement unit nowadays. One benefit of choosing 'J' is that the next letter, 'K' can then be used for 256-bit integer types.
Support for 128-bit integer types is still very basic. Plus, it is only supported on LP64 platforms, which means that lint cannot be cross-compiled to check for an LP64 platform while running on an ILP32 platform.
show more ...
|