Skip to content

Older versions of clang don't implicitly elide copy #7459

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

Conversation

etcwilde
Copy link
Member

Clang is supposed to build as far back as Clang 5, which doesn't elide the copy when returning errors resulting in an error: call to deleted constructor of 'llvm::Error'.

Clang is supposed to build as far back as Clang 5, which doesn't elide
the copy when returning errors resulting in an `error: call to deleted
constructor of 'llvm::Error'`.
@etcwilde etcwilde requested a review from akyrtzi September 13, 2023 20:43
@etcwilde
Copy link
Member Author

@swift-ci please test

@etcwilde etcwilde merged commit f1d5762 into swiftlang:stable/20221013 Sep 14, 2023
@etcwilde etcwilde deleted the ewilde/clang6-error-passing branch September 14, 2023 23:16
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