-
Notifications
You must be signed in to change notification settings - Fork 4.6k
[SIMULATION] To virtual method inside a final class; make classes non-final #49211
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
[SIMULATION] To virtual method inside a final class; make classes non-final #49211
Conversation
|
cms-bot internal usage |
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-49211/46541 |
|
A new Pull Request was created by @smuzaffar for master. It involves the following packages:
@civanch, @cmsbuild, @kpedro88, @mdhildreth can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
|
please test |
|
please test for CMSSW_16_0_CLANG_X |
|
-1 Failed Tests: Build BuildI found compilation warning when building: See details on the summary page. |
|
@smuzaffar , unfortunately, this utility was introduced for dd4hep src/DataFormats/Math/interface/GeantUnits.h Geant4 peoples commented that it is a potential for problems in future. However, today the fix likely will be needed in many places. Concerning problem with "final" the alternative solution is to remove "final" declaration from the class - the fix much more simple and will work for sure. |
|
+1 Size: This PR adds an extra 28KB to repository Comparison SummarySummary:
|
|
@smuzaffar , I confused: many compilation warnings but bot approved. |
|
@civanch , there are many compilation warning in CLANG_X IBs and this PR only fixes some of those that is why you still see many warnings. For Default IB e.g. https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-1c27d8/48799/build-logs/ there are no warnings.
OK, I will update the PR to remove the |
275f0a9 to
3785fac
Compare
|
-1 Failed Tests: Build BuildI found compilation warning when building: See details on the summary page. |
|
please test |
|
please test with #49212 for CMSSW_16_0_CLANG_X |
|
+1 Size: This PR adds an extra 24KB to repository 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. @ftenchini, @sextonkennedy, @mandrenguyen (and backports should be raised in the release meeting by the corresponding L2) |
|
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-1c27d8/48832/summary.html Comparison SummarySummary:
|
#49212 is independent PR , so this PR can go in with out #49212 |
|
+1 |
LLVM21 has a new warning
virtual method inside a final class and can never be overridden. This PR is to fix these warning.As suggested in #49211 (comment), this PR ake these classes non-final
See #49208