Skip to content

Explicitly cast OCLMemOrderKind members from std::memory_order in C++20 case #3254

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

Conversation

jaladreips
Copy link
Contributor

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

…20 case

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
@jaladreips
Copy link
Contributor Author

/backport llvm_release_140

@MrSidims MrSidims merged commit 58512e7 into KhronosGroup:main Jul 8, 2025
9 checks passed
@MrSidims
Copy link
Contributor

MrSidims commented Jul 8, 2025

@jaladreips now (with the PR merged) backport command should work

@jaladreips
Copy link
Contributor Author

/backport llvm_release_140

Copy link

github-actions bot commented Jul 8, 2025

Attempting to create backport to llvm_release_140...

github-actions bot pushed a commit that referenced this pull request Jul 8, 2025
…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
Copy link

github-actions bot commented Jul 8, 2025

Success. Backport PR created: #3256

@jaladreips
Copy link
Contributor Author

/backport llvm_release_150

Copy link

github-actions bot commented Jul 8, 2025

Attempting to create backport to llvm_release_150...

github-actions bot pushed a commit that referenced this pull request Jul 8, 2025
…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
Copy link

github-actions bot commented Jul 8, 2025

Success. Backport PR created: #3257

@jaladreips
Copy link
Contributor Author

/backport llvm_release_160

Copy link

github-actions bot commented Jul 8, 2025

Attempting to create backport to llvm_release_160...

github-actions bot pushed a commit that referenced this pull request Jul 8, 2025
…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
Copy link

github-actions bot commented Jul 8, 2025

Success. Backport PR created: #3258

@jaladreips
Copy link
Contributor Author

/backport llvm_release_170

Copy link

github-actions bot commented Jul 8, 2025

Attempting to create backport to llvm_release_170...

github-actions bot pushed a commit that referenced this pull request Jul 8, 2025
…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
Copy link

github-actions bot commented Jul 8, 2025

Success. Backport PR created: #3259

@jaladreips
Copy link
Contributor Author

/backport llvm_release_180

Copy link

github-actions bot commented Jul 8, 2025

Attempting to create backport to llvm_release_180...

Copy link

github-actions bot commented Jul 8, 2025

Success. Backport PR created: #3260

github-actions bot pushed a commit that referenced this pull request Jul 8, 2025
…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
@jaladreips
Copy link
Contributor Author

/backport llvm_release_190

Copy link

github-actions bot commented Jul 8, 2025

Attempting to create backport to llvm_release_190...

github-actions bot pushed a commit that referenced this pull request Jul 8, 2025
…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
Copy link

github-actions bot commented Jul 8, 2025

Success. Backport PR created: #3261

@jaladreips
Copy link
Contributor Author

/backport llvm_release_200

Copy link

github-actions bot commented Jul 8, 2025

Attempting to create backport to llvm_release_200...

github-actions bot pushed a commit that referenced this pull request Jul 8, 2025
…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
Copy link

github-actions bot commented Jul 8, 2025

Success. Backport PR created: #3262

MrSidims pushed a commit that referenced this pull request Jul 9, 2025
…s from std::memory_order in C++20 case (#3256)

Backport of PR #3254 into `llvm_release_140`.

All commits applied cleanly.

Co-authored-by: Jakub Jakacki <[email protected]>
MrSidims pushed a commit that referenced this pull request Jul 9, 2025
…s from std::memory_order in C++20 case (#3257)

Backport of PR #3254 into `llvm_release_150`.

All commits applied cleanly.

Co-authored-by: Jakub Jakacki <[email protected]>
MrSidims pushed a commit that referenced this pull request Jul 9, 2025
…s from std::memory_order in C++20 case (#3258)

Backport of PR #3254 into `llvm_release_160`.

All commits applied cleanly.

Co-authored-by: Jakub Jakacki <[email protected]>
MrSidims pushed a commit that referenced this pull request Jul 9, 2025
…s from std::memory_order in C++20 case (#3259)

Backport of PR #3254 into `llvm_release_170`.

All commits applied cleanly.

Co-authored-by: Jakub Jakacki <[email protected]>
MrSidims pushed a commit that referenced this pull request Jul 9, 2025
…s from std::memory_order in C++20 case (#3260)

Backport of PR #3254 into `llvm_release_180`.

All commits applied cleanly.

Co-authored-by: Jakub Jakacki <[email protected]>
MrSidims pushed a commit that referenced this pull request Jul 9, 2025
…s from std::memory_order in C++20 case (#3261)

Backport of PR #3254 into `llvm_release_190`.

All commits applied cleanly.

Co-authored-by: Jakub Jakacki <[email protected]>
MrSidims pushed a commit that referenced this pull request Jul 15, 2025
…s from std::memory_order in C++20 case (#3262)

Backport of PR #3254 into `llvm_release_200`.

All commits applied cleanly.

Co-authored-by: Jakub Jakacki <[email protected]>
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