-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Update edm::bit_cast
#45166
Update edm::bit_cast
#45166
Conversation
cms-bot internal usage |
please test |
-code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-45166/40512
Code check has found code style and quality issues which could be resolved by applying following patch(s)
|
0b3a0f4
to
65cd151
Compare
please test |
@Dr15Jones does it look OK to you ? |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-45166/40513
|
A new Pull Request was created by @fwyzard for master. It involves the following packages:
@Dr15Jones, @smuzaffar, @makortel can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
-1 Failed Tests: UnitTests Unit TestsI found 1 errors in the following unit tests: ---> test RecoPPSLocalNewT2 had ERRORS Comparison SummarySummary:
|
@smuzaffar is there a way to test is PR under clang as well? |
Pull request #45166 was updated. @smuzaffar, @Dr15Jones, @cmsbuild, @makortel can you please check and sign again. |
Use std::bit_cast in C++20 mode, or __builtin_bit_cast if available, otherwise fall back to memcpy.
4cf54d6
to
c619df6
Compare
please test |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-45166/40535
|
Pull request #45166 was updated. @Dr15Jones, @smuzaffar, @makortel can you please check and sign again. |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-9f9c33/39805/summary.html Comparison SummarySummary:
|
please test for CMSSW_14_1_CLANG_X Just to be sure. Wants it passes I'll sign. |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-9f9c33/39829/summary.html Comparison SummarySummary:
|
+1 |
This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @antoniovilela, @sextonkennedy, @rappoccio (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
PR description:
Update
edm::bit_cast
to usestd::bit_cast
in C++20 mode, otherwise fall back to__builtin_bit_cast
if available.PR validation:
None.
If this PR is a backport please specify the original PR and why you need to backport that PR. If this PR will be backported please specify to which release cycle the backport is meant for:
To be backported to 14.0.x for data taking, using the same branch.