Skip to content

Revert "[Clang] Instantiate local constexpr functions eagerly (#95660)" (#98991) #8992

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

Merged
merged 1 commit into from
Jul 18, 2024

Conversation

ahatanaka
Copy link

Unfortunately, llvm#95660 has caused a regression in DeduceReturnType(), where some of the local recursive lambdas are getting incorrectly rejected.

This reverts commit 5548ea3. Also, this adds an offending case to the test.

Closes llvm#98526

(cherry picked from commit 862715e)

…5660)" (llvm#98991)

Unfortunately, llvm#95660 has caused a regression in DeduceReturnType(),
where some of the local recursive lambdas are getting incorrectly rejected.

This reverts commit 5548ea3. Also, this
adds an offending case to the test.

Closes llvm#98526

(cherry picked from commit 862715e)
@ahatanaka ahatanaka merged commit 7fa13a4 into stable/20240625 Jul 18, 2024
@ahatanaka ahatanaka deleted the revert-local-constexpr branch July 18, 2024 01:00
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.

2 participants