Commit 37ecb8b
committed
STYLE: Prefer explicit const designation
Implements detection of local variables which could be declared as const but
are not. Declaring variables as const is recommended by many coding
guidelines, such as: ES.25 from the C++ Core Guidelines.
cd ${BLDDIR}
run-clang-tidy.py -extra-arg=-D__clang__ -checks=-*,misc-const-correctness -header-filter=.* -fix1 parent 6746ae4 commit 37ecb8b
File tree
2,478 files changed
+14989
-14794
lines changed- Examples
- DataRepresentation
- Image
- Mesh
- Path
- Filtering
- IO
- XML
- Iterators
- RegistrationITKv4
- Segmentation
- SpatialObjects
- Statistics
- Modules
- Bridge/VTK/src
- Core
- Common
- include
- src
- test
- FiniteDifference/include
- ImageAdaptors
- include
- test
- ImageFunction
- include
- test
- Mesh
- include
- src
- test
- QuadEdgeMesh
- include
- test
- SpatialObjects
- include
- test
- TestKernel
- include
- src
- test
- Transform
- include
- test
- Filtering
- AnisotropicSmoothing
- include
- test
- AntiAlias/test
- BiasCorrection
- include
- test
- BinaryMathematicalMorphology
- include
- test
- Colormap
- include
- test
- Convolution
- include
- test
- CurvatureFlow
- include
- test
- Deconvolution
- include
- test
- Denoising
- include
- test
- DiffusionTensorImage
- include
- test
- DisplacementField
- include
- test
- DistanceMap
- include
- test
- FFT
- include
- src
- test
- FastMarching
- include
- test
- ImageCompare
- include
- test
- ImageCompose
- include
- test
- ImageFeature
- include
- test
- ImageFilterBase
- include
- test
- ImageFrequency/test
- ImageFusion
- include
- test
- ImageGradient
- include
- test
- ImageGrid
- include
- test
- ImageIntensity
- include
- test
- ImageLabel
- include
- test
- ImageNoise/test
- ImageSources
- include
- test
- ImageStatistics
- include
- test
- LabelMap
- include
- test
- MathematicalMorphology
- include
- test
- Path
- include
- src
- test
- QuadEdgeMeshFiltering
- include
- test
- Smoothing
- include
- test
- SpatialFunction
- include
- test
- Thresholding
- include
- test
- IO
- BMP
- src
- test
- BioRad/src
- Bruker
- src
- test
- CSV
- include
- test
- GDCM
- src
- test
- GE
- src
- test
- GIPL
- src
- test
- HDF5
- src
- test
- IPL/src
- ImageBase
- include
- src
- test
- JPEG2000
- src
- test
- JPEG
- src
- test
- LSM
- src
- test
- MINC
- src
- test
- MRC
- src
- test
- MeshBYU
- include
- src
- test
- MeshBase/include
- MeshFreeSurfer
- src
- test
- MeshGifti
- src
- test
- MeshOBJ
- src
- test
- MeshOFF
- src
- test
- MeshVTK
- include
- src
- test
- Mesh/test
- Meta
- src
- test
- NIFTI
- src
- test
- NRRD
- src
- test
- PNG
- src
- test
- PhilipsREC
- src
- test
- RAW
- include
- test
- SpatialObjects
- src
- test
- Stimulate
- src
- test
- TIFF
- src
- test
- TransformBase/src
- TransformFactory
- include
- src
- test
- TransformHDF5
- src
- test
- TransformInsightLegacy
- src
- test
- TransformMatlab
- src
- test
- VTK
- src
- test
- XML
- include
- src
- test
- Nonunit/IntegratedTest/test
- Numerics
- Eigen
- include
- test
- NarrowBand
- include
- test
- Optimizersv4
- include
- src
- test
- Optimizers
- src
- test
- Polynomials
- include
- src
- Statistics
- include
- src
- test
- Registration
- Common
- include
- test
- RegistrationITKv3
- Metricsv4
- include
- test
- PDEDeformable
- include
- test
- RegistrationMethodsv4
- include
- test
- Segmentation
- Classifiers
- include
- test
- ConnectedComponents
- include
- test
- DeformableMesh
- include
- test
- KLMRegionGrowing
- include
- src
- test
- LabelVoting
- include
- test
- LevelSetsv4
- include
- test
- LevelSets
- include
- test
- MarkovRandomFieldsClassifiers
- include
- test
- RegionGrowing
- include
- test
- SignedDistanceFunction
- include
- test
- SuperPixel
- include
- test
- Voronoi
- include
- test
- Watersheds
- include
- test
- Video
- Core
- include
- src
- test
- Filtering
- include
- test
- IO
- include
- src
- test
- Wrapping/Generators/Python/PyUtils
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
2,478 files changed
+14989
-14794
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
140 | | - | |
| 140 | + | |
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
| 102 | + | |
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
459 | 459 | | |
460 | 460 | | |
461 | 461 | | |
462 | | - | |
| 462 | + | |
463 | 463 | | |
464 | 464 | | |
465 | 465 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
165 | | - | |
| 165 | + | |
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
| 91 | + | |
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
| 130 | + | |
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
203 | | - | |
| 203 | + | |
204 | 204 | | |
205 | 205 | | |
206 | 206 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
218 | 218 | | |
219 | 219 | | |
220 | 220 | | |
221 | | - | |
| 221 | + | |
222 | 222 | | |
223 | 223 | | |
224 | | - | |
225 | | - | |
226 | | - | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
227 | 227 | | |
228 | 228 | | |
229 | 229 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
294 | 294 | | |
295 | 295 | | |
296 | 296 | | |
297 | | - | |
298 | | - | |
| 297 | + | |
| 298 | + | |
299 | 299 | | |
300 | 300 | | |
301 | 301 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
218 | 218 | | |
219 | 219 | | |
220 | 220 | | |
221 | | - | |
222 | | - | |
| 221 | + | |
| 222 | + | |
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
| |||
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
241 | | - | |
| 241 | + | |
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
| |||
0 commit comments