Skip to content

Cherry-Pick #7559: [NFC] Address compiler warnings: C4146 - Trivial std::numeric_limits<T> cases#8236

Draft
alsepkow wants to merge 1 commit intomicrosoft:release-1.8.2505from
alsepkow:user/alsepkow/cherry-pick-7559-to-1.8.2505
Draft

Cherry-Pick #7559: [NFC] Address compiler warnings: C4146 - Trivial std::numeric_limits<T> cases#8236
alsepkow wants to merge 1 commit intomicrosoft:release-1.8.2505from
alsepkow:user/alsepkow/cherry-pick-7559-to-1.8.2505

Conversation

@alsepkow
Copy link
Contributor

@alsepkow alsepkow commented Mar 7, 2026

Cherry-pick of PR #7559 into release-1.8.2505.

Original PR: #7559
Original Commit: d1d0a31

Assisted by GitHub Copilot.

…T> cases (microsoft#7559)

Addresses microsoft#7558. There is also one trivial change to use the ~ operator
included in LEB128.h. My notes on the files were wrong and suggested
that it should use std::numeric_limits<T> but looking at it again using
~0ULL made more sense.
@alsepkow alsepkow changed the title Cherry-Pick: [NFC] Address compiler warnings: C4146 - Trivial std::numeric_limits<T> cases (#7559) Cherry-Pick #7559: [NFC] Address compiler warnings: C4146 - Trivial std::numeric_limits<T> cases Mar 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: New

Development

Successfully merging this pull request may close these issues.

1 participant