Skip to content

STYLE: Add in-class {} member initializers having trailing comments#3945

Merged
hjmjohnson merged 1 commit intoInsightSoftwareConsortium:masterfrom
N-Dekker:Add-member-initializers-having-trailing-comment
Mar 7, 2023
Merged

STYLE: Add in-class {} member initializers having trailing comments#3945
hjmjohnson merged 1 commit intoInsightSoftwareConsortium:masterfrom
N-Dekker:Add-member-initializers-having-trailing-comment

Conversation

@N-Dekker
Copy link
Copy Markdown
Contributor

@N-Dekker N-Dekker commented Mar 4, 2023

Previous commits that added {} initializers to data members by means of regular expressions had overlooked member declarations that had a trailing comment.

Follow-up to pull request #3851 commit 5e2c49f
"STYLE: Add in-class {} member initializers to objects created by New()"

@github-actions 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:IO Issues affecting the IO 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 4, 2023
Previous commits that added `{}` initializers to data members by means of
regular expressions had overlooked member declarations that had a trailing
comment.

Follow-up to pull request InsightSoftwareConsortium#3851
commit 5e2c49f
"STYLE: Add in-class `{}` member initializers to objects created by New()"
@N-Dekker N-Dekker force-pushed the Add-member-initializers-having-trailing-comment branch from 46aa921 to df57675 Compare March 4, 2023 11:24
@github-actions github-actions bot added the area:Segmentation Issues affecting the Segmentation module label Mar 4, 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 N-Dekker marked this pull request as ready for review March 4, 2023 15:48
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"
@hjmjohnson hjmjohnson merged commit 8f233d1 into InsightSoftwareConsortium:master Mar 7, 2023
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:IO Issues affecting the IO module area:Numerics Issues affecting the Numerics module area:Registration Issues affecting the Registration module area:Segmentation Issues affecting the Segmentation 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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants