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
[GEOMETRY-UPGRADE] [CLANG] Fixes warnings reported by clang 14 #40507
[GEOMETRY-UPGRADE] [CLANG] Fixes warnings reported by clang 14 #40507
Conversation
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-40507/33703
|
A new Pull Request was created by @smuzaffar (Malik Shahzad Muzaffar) for master. It involves the following packages:
@civanch, @Dr15Jones, @bsunanda, @makortel, @ianna, @mdhildreth, @cmsbuild, @AdrianoDee, @srimanob can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
please test |
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.
@smuzaffar - Thanks! Indeed this should be the only change in comparison with the
#40509 because the preshower detector is not present in the upgrade geometry configuration.
-1 Failed Tests: RelVals-INPUT RelVals-INPUTThe relvals timed out after 4 hours. Comparison SummarySummary:
|
please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-6403b7/29993/summary.html Comparison SummarySummary:
|
@smuzaffar , what about lines 134 and 136 - there is no warnings as in 138? By lines are basically the same. |
@civanch , you are right, there are few places where compiler is not complaining. I guess when compiler sees a simple arithematic in the logic then it does not complian but if it see bit complex logic e.g. calls to other funxtions ( even if they are inlined) then it complains. I would suggest to keep the line 134/136 as it is for now |
+1 |
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.
@civanch - I think, there is no need to modify the lines 134 and 136. See my comment.
@@ -136,7 +136,7 @@ class RectangularMTDTopology final : public PixelTopology { | |||
bool isItEdgePixelInY(int iybin) const override { return ((iybin == 0) | (iybin == (m_ncols - 1))); } |
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.
+Upgrade Technical PR. Not sure if @smuzaffar has a comment to #40507 (comment) |
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. @perrotta, @dpiparo, @rappoccio (and backports should be raised in the release meeting by the corresponding L2) |
+1 Technical change. |
This PR fixes clang 14 warnings about the use of bitwise '&' with boolean operands