-
-
Notifications
You must be signed in to change notification settings - Fork 678
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
STYLE: Add in-class {}
member initializers to 3-letter data members
#3941
Merged
jhlegarreta
merged 1 commit into
InsightSoftwareConsortium:master
from
N-Dekker:Add-member-initializers-to-3-letter-members
Mar 3, 2023
Merged
STYLE: Add in-class {}
member initializers to 3-letter data members
#3941
jhlegarreta
merged 1 commit into
InsightSoftwareConsortium:master
from
N-Dekker:Add-member-initializers-to-3-letter-members
Mar 3, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Previous commits that added `{}` initializers to data members by means of regular expressions had overlooked three-letter identifiers, like `m_E` and `m_I`. Follow-up to pull request InsightSoftwareConsortium#3851 commit 5e2c49f "STYLE: Add in-class `{}` member initializers to objects created by New()"
github-actions
bot
added
type:Testing
Ensure that the purpose of a class is met/the results on a wide set of test cases are correct
area:Core
Issues affecting the Core module
area:Filtering
Issues affecting the Filtering module
area:Registration
Issues affecting the Registration module
type:Style
Style changes: no logic impact (indentation, comments, naming)
area:Numerics
Issues affecting the Numerics module
labels
Mar 1, 2023
dzenanz
approved these changes
Mar 1, 2023
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.
Funny oversight 😄
N-Dekker
added a commit
to N-Dekker/ITK
that referenced
this pull request
Mar 1, 2023
The script that was used for the following pull requests: pull request InsightSoftwareConsortium#3851 "STYLE: Add in-class `{}` member initializers to objects created by New()" pull request InsightSoftwareConsortium#3913 "STYLE: Add in-class `{}` initializers to classes with virtual functions" pull request InsightSoftwareConsortium#3917 "STYLE: Add in-class `{}` initializers to classes with override = default" pull request InsightSoftwareConsortium#3941 "STYLE: Add in-class `{}` member initializers to 3-letter data members"
jhlegarreta
approved these changes
Mar 3, 2023
N-Dekker
added a commit
to N-Dekker/ITK
that referenced
this pull request
Mar 4, 2023
The script that was used for the following pull requests: pull request InsightSoftwareConsortium#3851 "STYLE: Add in-class `{}` member initializers to objects created by New()" pull request InsightSoftwareConsortium#3913 "STYLE: Add in-class `{}` initializers to classes with virtual functions" pull request InsightSoftwareConsortium#3917 "STYLE: Add in-class `{}` initializers to classes with override = default" pull request InsightSoftwareConsortium#3941 "STYLE: Add in-class `{}` member initializers to 3-letter data members" pull request InsightSoftwareConsortium#3945 "STYLE: Add in-class `{}` member initializers having trailing comments"
N-Dekker
added a commit
to N-Dekker/ITK
that referenced
this pull request
Mar 6, 2023
The script that was used for the following pull requests: pull request InsightSoftwareConsortium#3851 "STYLE: Add in-class `{}` member initializers to objects created by New()" pull request InsightSoftwareConsortium#3913 "STYLE: Add in-class `{}` initializers to classes with virtual functions" pull request InsightSoftwareConsortium#3917 "STYLE: Add in-class `{}` initializers to classes with override = default" pull request InsightSoftwareConsortium#3941 "STYLE: Add in-class `{}` member initializers to 3-letter data members" pull request InsightSoftwareConsortium#3945 "STYLE: Add in-class `{}` member initializers having trailing comments"
dzenanz
pushed a commit
that referenced
this pull request
Mar 20, 2023
The script that was used for the following pull requests: pull request #3851 "STYLE: Add in-class `{}` member initializers to objects created by New()" pull request #3913 "STYLE: Add in-class `{}` initializers to classes with virtual functions" pull request #3917 "STYLE: Add in-class `{}` initializers to classes with override = default" pull request #3941 "STYLE: Add in-class `{}` member initializers to 3-letter data members" pull request #3945 "STYLE: Add in-class `{}` member initializers having trailing comments"
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area:Core
Issues affecting the Core module
area:Filtering
Issues affecting the Filtering module
area:Numerics
Issues affecting the Numerics module
area:Registration
Issues affecting the Registration module
type:Style
Style changes: no logic impact (indentation, comments, naming)
type:Testing
Ensure that the purpose of a class is met/the results on a wide set of test cases are correct
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Previous commits that added
{}
initializers to data members by means of regular expressions had overlooked three-letter identifiers, likem_E
andm_I
.Follow-up to pull request #3851 commit 5e2c49f
"STYLE: Add in-class
{}
member initializers to objects created by New()"