-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Collective Cleanups February 2021 #3329
Collective Cleanups February 2021 #3329
Conversation
No functional change
Missing |
Template member fcuntion cannot be used outside movepicker.cpp anyway. No functional change
@Lolligerhans, I meant inside... ;) |
@BM123499 I saw you test now and figured! xD The function one is on the house. 👍 |
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.
we are using constexpr
in many places, but can they be used on line 428 of evaluate.cpp?
@BM123499 Please add a commit with a concrete suggestion. You will need to address the defined-not-used warning resulting from excluding all uses of some of the |
Line 271-272 of position.cpp should be formatted like this:
|
Lines 521-522 of position.cpp should be like this:
EDIT: removed the faulty de Morgan law, sorry. Corrected to just push the |
Lines 660-661 of position.cpp should be formatted like this:
|
@snicolet it changes the logic. |
- move boolen operators that span larger compaound expressions to the beginning of a line - indent sub-expressions fully to the right of the encompassing operator
Adjusted whitespace to follow suggested indentation. Kept original expressions where suggested corrections differ (as pointed out by BM123499). I suppose these suggestions were accidental (?) |
Yes, sorry :-) |
fix copyright date in Makefile |
@vondele
(2) replacing entire time span?
|
I would go for option (2) replacing entire time span, as in other source files. |
for search.cpp: |
Merged via 40cb0f0, thanks :-) |
Merge/pull with
--squash
to prepare single commit in staging index, commit withgit commit
.Created empty following request from #3301.
What is a cleanup?
(Trivial) cleanups are changes which do not require testing, because their benefit is apparent to everyone. This can include
Participation
You have two options to add your own cleanups:
Legend
👀 = I have seen your comment
👍 = Comment is resolved or discussed further below