Skip to content

[Backport to llvm_release_190] Explicitly cast OCLMemOrderKind members from std::memory_order in C++20 case #3261

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 9, 2025

Conversation

github-actions[bot]
Copy link

@github-actions github-actions bot commented Jul 8, 2025

Backport of PR #3254 into llvm_release_190.

All commits applied cleanly.

…20 case (#3254)

Clang does not like the current way of directly assigning members of one
enum to another and requires explicit static_cast on the way.

Compilation failed:
https://godbolt.org/z/3PYqsETdc

Compilation successful:
https://godbolt.org/z/bjeYK376s
@MrSidims
Copy link
Contributor

MrSidims commented Jul 9, 2025

Starting CI.

@MrSidims MrSidims closed this Jul 9, 2025
@MrSidims MrSidims reopened this Jul 9, 2025
@MrSidims MrSidims merged commit f3c69c2 into llvm_release_190 Jul 9, 2025
9 checks passed
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