Skip to content

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

Merged
MrSidims merged 1 commit intollvm_release_190from
backport/pr-3254-to-llvm_release_190
Jul 9, 2025
Merged

[Backport to llvm_release_190] Explicitly cast OCLMemOrderKind members from std::memory_order in C++20 case#3261
MrSidims merged 1 commit intollvm_release_190from
backport/pr-3254-to-llvm_release_190

Conversation

@github-actions
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
@MrSidims MrSidims deleted the backport/pr-3254-to-llvm_release_190 branch August 28, 2025 12:28
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