Skip to content

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

Merged
MrSidims merged 1 commit intollvm_release_200from
backport/pr-3254-to-llvm_release_200
Jul 15, 2025
Merged

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

Conversation

@github-actions
Copy link

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

Backport of PR #3254 into llvm_release_200.

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 ae16e68 into llvm_release_200 Jul 15, 2025
13 of 14 checks passed
@MrSidims MrSidims deleted the backport/pr-3254-to-llvm_release_200 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