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

[Clang][NFC] Minor constraint satisfaction checking cleanup #134059

Merged
merged 1 commit into from
Apr 2, 2025

Conversation

cor3ntin
Copy link
Contributor

@cor3ntin cor3ntin commented Apr 2, 2025

We had a weird, incorrect, "ConstraintEvaluator" object that was not useful for anything, so I removed that.

I also changed the CheckConstraintSatisfaction overload that just took an Expr* as this did not make much sense at all.

Satisfaction checking is still fairly wrong,
we do not follow the standard that requires we only substitute into the mapping of the normal form, so we produce errors for incorrect substitution into concepts id, even though we should not.

We had a weird, incorrect, "ConstraintEvaluator" object that
was not useful for anything, so I removed that.

I also changed the CheckConstraintSatisfaction overload
that just took an Expr* as this did not make much sense at all.

Satisfaction checking is still fairly wrong,
we do not follow the standard  that requires we only substitute
into the mapping of the normal form, so we produce errors
for incorrect substitution into concepts id, even though
we should not.
@cor3ntin cor3ntin merged commit 14335be into llvm:main Apr 2, 2025
10 of 12 checks passed
@cor3ntin cor3ntin deleted the corentin/fix_satisfaction branch April 2, 2025 11:49
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