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

C++: Add a type-based SemReason. #13880

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

MathiasVP
Copy link
Contributor

@MathiasVP MathiasVP commented Aug 3, 2023

This is the preparatory work that we need before we can merge #13783. This PR adds the ability to specify a "SemTypeReason" in range analysis, which will then propagate all the way up to the call to semBounded. Users of range analysis can then decide for themselves whether they're interested in type-based bounds by checking whether the SemReason is a TypeReason.

This PR shouldn't have any affect on any existing queries since nothing in range analysis currently produce a SemTypeReason. This will be done by #13783.

@MathiasVP MathiasVP requested a review from a team as a code owner August 3, 2023 13:28
@github-actions github-actions bot added the C++ label Aug 3, 2023
@MathiasVP MathiasVP added the no-change-note-required This PR does not need a change note label Aug 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C++ no-change-note-required This PR does not need a change note
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant