Commit ec510c1
STYLE: Replace postfix with prefix increment, decrement (
Applied to the root of ITK source tree, at the GNU bash prompt:
find . \( -iname itk*.cxx -or -iname itk*.hxx -or -iname itk*.h \) -exec perl -pi -w -e 's/ (\w+)\+\+;/ ++$1;/g;' {} \;
find . \( -iname itk*.cxx -or -iname itk*.hxx -or -iname itk*.h \) -exec perl -pi -w -e 's/ (\w+)\-\-;/ --$1;/g;' {} \;
Excluded itkConceptChecking.h, as it is intended to check both the prefix *and*
the postfix forms. Excluded the unit tests, as they might intentionally test
the postfix forms.
Follow-up to:
pull request #2493
commit f81578b
"STYLE: Replace postfix by prefix increment in `for` loops in Core/Common"++, --)1 parent 73e883d commit ec510c1
225 files changed
Lines changed: 705 additions & 705 deletions
File tree
- Modules
- Compatibility/Deprecated/include
- Core
- Common
- include
- src
- GPUCommon/include
- ImageFunction/include
- Mesh/include
- QuadEdgeMesh
- include
- src
- SpatialObjects/include
- TestKernel
- include
- src
- Transform/include
- Filtering
- AnisotropicSmoothing/include
- BiasCorrection/include
- CurvatureFlow/include
- DisplacementField/include
- DistanceMap/include
- FFT/include
- ImageFeature/include
- ImageFilterBase/include
- ImageFusion/include
- ImageGradient/include
- ImageGrid/include
- ImageLabel/include
- ImageStatistics/include
- LabelMap/include
- MathematicalMorphology/include
- Path/include
- QuadEdgeMeshFiltering/include
- Smoothing/include
- Thresholding/include
- IO
- BMP/src
- BioRad/src
- Bruker/src
- CSV/src
- GE/src
- GIPL/src
- HDF5/src
- IPL
- include
- src
- ImageBase/include
- JPEG2000/src
- LSM/src
- MINC/src
- MeshBYU
- include
- src
- MeshBase/include
- MeshGifti/src
- MeshOBJ
- include
- src
- MeshOFF
- include
- src
- MeshVTK/include
- NIFTI/src
- PhilipsREC/src
- Nonunit/Review/include
- Numerics
- FEM/include
- Optimizersv4
- include
- src
- Optimizers/src
- Statistics
- include
- src
- Registration
- Common/include
- FEM/include
- Metricsv4/include
- PDEDeformable/include
- RegistrationMethodsv4/include
- Segmentation
- Classifiers/include
- ConnectedComponents/include
- DeformableMesh/include
- KLMRegionGrowing
- include
- src
- LabelVoting/include
- LevelSetsv4/include
- LevelSets/include
- MarkovRandomFieldsClassifiers/include
- RegionGrowing/include
- Voronoi/include
- Watersheds
- include
- src
- Video
- Core/include
- IO/src
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
109 | | - | |
| 109 | + | |
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
142 | | - | |
| 142 | + | |
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
162 | | - | |
| 162 | + | |
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
| |||
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
181 | | - | |
| 181 | + | |
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
169 | | - | |
| 169 | + | |
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
| |||
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
209 | | - | |
| 209 | + | |
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
153 | | - | |
| 153 | + | |
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
| 85 | + | |
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
438 | 438 | | |
439 | 439 | | |
440 | 440 | | |
441 | | - | |
| 441 | + | |
442 | 442 | | |
443 | 443 | | |
444 | 444 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
143 | | - | |
| 143 | + | |
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
152 | | - | |
| 152 | + | |
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
322 | 322 | | |
323 | 323 | | |
324 | 324 | | |
325 | | - | |
| 325 | + | |
326 | 326 | | |
327 | 327 | | |
328 | 328 | | |
| |||
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
144 | | - | |
| 144 | + | |
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
150 | | - | |
| 150 | + | |
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
156 | | - | |
| 156 | + | |
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
163 | | - | |
| 163 | + | |
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
| |||
0 commit comments