-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Add missing methods to Style class #47202
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
Conversation
|
cms-bot internal usage |
|
-code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-47202/43471 Code check has found code style and quality issues which could be resolved by applying following patch(s)
|
6f32bd3 to
62296c6
Compare
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-47202/43472 |
|
A new Pull Request was created by @iarspider for master. It involves the following packages:
@antoniovagnerini, @cmsbuild, @rseidita can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
|
please test |
| class Style : public TH1 {}; | ||
| class Style : public TH1 { | ||
| private: | ||
| void AddBinContent(Int_t){}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How come our clang-tidy doesn't change these to
| void AddBinContent(Int_t){}; | |
| void AddBinContent(Int_t) override {}; |
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good catch @makortel . We pass -header-filter='/build/muz/xx/CMSSW_15_0_CLANG_X_2025-01-28-2300/src/.*' to clang-tidy. Looks like it is not working any more [a] but using -header-filter='src/.*' works [b]. I will update the build rules to use relative path
[a]
> clang-tidy -export-fixes tmp/el8_amd64_gcc12/code-checks/Validation/RecoParticleFlow/src/NicePlot.cc.yaml -header-filter='/build/muz/xx/CMSSW_15_0_X_2025-01-29-1100/src/.*' src/Validation/RecoParticleFlow/src/NicePlot.cc
375 warnings generated.
Suppressed 375 warnings (375 in non-user code).
Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
[b]
> clang-tidy -export-fixes tmp/el8_amd64_gcc12/code-checks/Validation/RecoParticleFlow/src/NicePlot.cc.yaml --header-filter='src/.*' src/Validation/RecoParticleFlow/src/NicePlot.cc
375 warnings generated.
src/Validation/RecoParticleFlow/interface/NicePlot.h:9:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override]
9 | void AddBinContent(Int_t){};
| ^
| override
src/Validation/RecoParticleFlow/interface/NicePlot.h:10:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override]
10 | void AddBinContent(Int_t, Double_t){};
| ^
| override
src/Validation/RecoParticleFlow/interface/NicePlot.h:11:12: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override]
11 | Double_t RetrieveBinContent(Int_t) const { return 0.; };
| ^
| override
src/Validation/RecoParticleFlow/interface/NicePlot.h:12:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override]
12 | void UpdateBinContent(Int_t, Double_t){};
| ^
| override
|
+1 Size: This PR adds an extra 20KB to repository Comparison SummarySummary:
|
62296c6 to
0bc8fc9
Compare
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-47202/43484 |
|
Pull request #47202 was updated. @antoniovagnerini, @cmsbuild, @rseidita can you please check and sign again. |
|
please test |
|
+1 Size: This PR adds an extra 20KB to repository Comparison SummarySummary:
|
|
+dqm
|
|
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. @rappoccio, @antoniovilela, @sextonkennedy, @mandrenguyen (and backports should be raised in the release meeting by the corresponding L2) |
|
code-checks |
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-47202/43490 |
|
+1 |
PR description:
Fixes compilation errors with new ROOTMaster.
PR validation:
Bot tests