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
SimG4Core packages: clean up clang warnings: #22496
SimG4Core packages: clean up clang warnings: #22496
Conversation
SimG4Core/HelpfulWatchers/src/SimTracer.h:67:1: warning: 'update' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] UPDATE(DDDWorld) ^ SimG4Core/HelpfulWatchers/src/SimTracer.h:43:27: note: expanded from macro 'UPDATE' ^ SimG4Core/HelpfulWatchers/src/G4StepStatistics.h:156:1: warning: 'update' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] UPDATE(DDDWorld) ^ SimG4Core/HelpfulWatchers/src/G4StepStatistics.h:129:27: note: expanded from macro 'UPDATE' ^ SimG4Core/PhysicsLists/interface/CMSFTFPNeutronBuilder.hh:33:10: warning: 'SetMinEnergy' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void SetMinEnergy(G4double aM) {theMin = aM;} ^ SimG4Core/PhysicsLists/interface/CMSFTFPNeutronBuilder.hh:34:10: warning: 'SetMaxEnergy' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void SetMaxEnergy(G4double aM) {theMax = aM;} ^ SimG4Core/PhysicsLists/interface/CMSFTFPPiKBuilder.hh:38:10: warning: 'SetMinEnergy' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void SetMinEnergy(G4double aM) {theMin = aM;} ^ SimG4Core/PhysicsLists/interface/CMSFTFPPiKBuilder.hh:39:10: warning: 'SetMaxEnergy' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void SetMaxEnergy(G4double aM) {theMax = aM;} ^ SimG4Core/PhysicsLists/interface/CMSFTFPProtonBuilder.hh:31:10: warning: 'SetMinEnergy' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void SetMinEnergy(G4double aM) {theMin = aM;} ^ SimG4Core/PhysicsLists/interface/CMSFTFPProtonBuilder.hh:32:10: warning: 'SetMaxEnergy' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void SetMaxEnergy(G4double aM) {theMax = aM;} ^
The code-checks are being triggered in jenkins. |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-22496/3783 |
A new Pull Request was created by @gartung (Patrick Gartung) for master. It involves the following packages: SimG4Core/HelpfulWatchers @cmsbuild, @civanch, @mdhildreth can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
please test |
The tests are being triggered in jenkins. |
+1 The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic: |
Comparison job queued. |
Comparison is ready Comparison Summary:
|
+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. @davidlange6, @slava77, @smuzaffar, @fabiocos (and backports should be raised in the release meeting by the corresponding L2) |
The differences are concentrated in a FastSim workflow, and looks unrelated to this PR, most likely due to the fastsim muon fix included in the merge |
+1 |
SimG4Core/HelpfulWatchers/src/SimTracer.h:67:1: warning: 'update' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
UPDATE(DDDWorld)
^
SimG4Core/HelpfulWatchers/src/SimTracer.h:43:27: note: expanded from macro 'UPDATE'
^
SimG4Core/HelpfulWatchers/src/G4StepStatistics.h:156:1: warning: 'update' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
UPDATE(DDDWorld)
^
SimG4Core/HelpfulWatchers/src/G4StepStatistics.h:129:27: note: expanded from macro 'UPDATE'
^
SimG4Core/PhysicsLists/interface/CMSFTFPNeutronBuilder.hh:33:10: warning: 'SetMinEnergy' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void SetMinEnergy(G4double aM) {theMin = aM;}
^
SimG4Core/PhysicsLists/interface/CMSFTFPNeutronBuilder.hh:34:10: warning: 'SetMaxEnergy' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void SetMaxEnergy(G4double aM) {theMax = aM;}
^
SimG4Core/PhysicsLists/interface/CMSFTFPPiKBuilder.hh:38:10: warning: 'SetMinEnergy' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void SetMinEnergy(G4double aM) {theMin = aM;}
^
SimG4Core/PhysicsLists/interface/CMSFTFPPiKBuilder.hh:39:10: warning: 'SetMaxEnergy' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void SetMaxEnergy(G4double aM) {theMax = aM;}
^
SimG4Core/PhysicsLists/interface/CMSFTFPProtonBuilder.hh:31:10: warning: 'SetMinEnergy' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void SetMinEnergy(G4double aM) {theMin = aM;}
^
SimG4Core/PhysicsLists/interface/CMSFTFPProtonBuilder.hh:32:10: warning: 'SetMaxEnergy' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void SetMaxEnergy(G4double aM) {theMax = aM;}
^