Replace T var; var.Fill with auto var = T::Filled, for both Index and Size#4906
Merged
dzenanz merged 2 commits intoInsightSoftwareConsortium:masterfrom Oct 29, 2024
Merged
Conversation
Using Notepad++, Replace in Files, doing:
Find what: ^([ ]+ )(typename )?(.*Size.*[^ ])[ ]+(\w+);[\r\n]+ [ ]+\4\.Fill\(
Replace with: $1auto $4 = $3::Filled\(
Filters: itk*.h;itk*.hxx;itk*.cxx
[v] Match case
(*) Regular expression
Follow-up to pull request InsightSoftwareConsortium#4887
commit be250b8
"STYLE: Replace `size.Fill` with `auto size = Size::Filled` in tests"
Using Notepad++, Replace in Files, doing:
Find what: ^([ ]+ )(typename )?(.*Index.*[^ ])[ ]+(\w+);[\r\n]+ [ ]+\4\.Fill\(
Replace with: $1auto $4 = $3::Filled\(
Filters: itk*.h;itk*.hxx;itk*.cxx
[v] Match case
(*) Regular expression
Follow-up to pull request InsightSoftwareConsortium#4887
commit 504d63b
"STYLE: Replace `index.Fill` with `auto index = Index::Filled` in tests"
dzenanz
approved these changes
Oct 28, 2024
N-Dekker
added a commit
to N-Dekker/ITKSphinxExamples
that referenced
this pull request
Nov 11, 2024
Follow-up to ITK pull request InsightSoftwareConsortium/ITK#4906 commit InsightSoftwareConsortium/ITK@7fd1e73
N-Dekker
added a commit
to N-Dekker/ITKSphinxExamples
that referenced
this pull request
Nov 11, 2024
Follow-up to ITK pull request InsightSoftwareConsortium/ITK#4906 commit InsightSoftwareConsortium/ITK@3ff56ea
N-Dekker
added a commit
to SuperElastix/elastix
that referenced
this pull request
Nov 15, 2024
- Following ITK pull request InsightSoftwareConsortium/ITK#4906 commit InsightSoftwareConsortium/ITK@7fd1e73
N-Dekker
added a commit
to SuperElastix/elastix
that referenced
this pull request
Nov 15, 2024
- Following ITK pull request InsightSoftwareConsortium/ITK#4906 commit InsightSoftwareConsortium/ITK@3ff56ea
N-Dekker
added a commit
to SuperElastix/elastix
that referenced
this pull request
Nov 15, 2024
- Following ITK pull request InsightSoftwareConsortium/ITK#4906 commit InsightSoftwareConsortium/ITK@7fd1e73
N-Dekker
added a commit
to SuperElastix/elastix
that referenced
this pull request
Nov 15, 2024
- Following ITK pull request InsightSoftwareConsortium/ITK#4906 commit InsightSoftwareConsortium/ITK@3ff56ea
hjmjohnson
pushed a commit
to InsightSoftwareConsortium/ITKSphinxExamples
that referenced
this pull request
Nov 25, 2024
Follow-up to ITK pull request InsightSoftwareConsortium/ITK#4906 commit InsightSoftwareConsortium/ITK@7fd1e73
hjmjohnson
pushed a commit
to InsightSoftwareConsortium/ITKSphinxExamples
that referenced
this pull request
Nov 25, 2024
Follow-up to ITK pull request InsightSoftwareConsortium/ITK#4906 commit InsightSoftwareConsortium/ITK@3ff56ea
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Fill(T{})with{}initialization, replaceT var; var.Fillwithauto var = T::Filledin tests #4887