Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test and fix constexpr impl of from-endian-bytes for all int sizes #453

Merged
merged 2 commits into from
Jan 29, 2024

Conversation

danakj
Copy link
Collaborator

@danakj danakj commented Jan 29, 2024

Add runtime and constexpr tests for from_ne_bytes(), from_be_bytes(), and from_le_bytes() for all unsigned integers. Other types just use the unsigned implementations.

This uncovered bugs in the constexpr implementations, so fix those.

And add clang 19 bots to test this against HEAD.
Part of #454

Add runtime and constexpr tests for from_ne_bytes(), from_be_bytes(),
and from_le_bytes() for all unsigned integers. Other types just use
the unsigned implementations.

This uncovered bugs in the constexpr implementations, so fix those.
@danakj danakj added this to the 0. Numerics milestone Jan 29, 2024
This keeps a sanitizer bot on the oldest and newest stable clang
versions that we're supporting.
@danakj danakj merged commit f9c481a into chromium:main Jan 29, 2024
6 of 10 checks passed
@danakj danakj deleted the from-endian branch January 29, 2024 22:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant