STYLE: Use ITK_NULLPTR to utilize c++11 features
Where available, use c++11 features to identify potential nullptr usage errors. python run-clang-tidy.py -clang-tidy-binary ~/software/clang+llvm-3.8.0-x86_64-linux-gnu-ubuntu-14.04/bin/clang-tidy -checks=-*,modernize-use-nullptr -header-filter=/home/grizonnetm/projets/otb/src/OTB/Modules/.*/.*/include/.* -j8 -fix -p ~/projets/otb/bin/release/OTB-clang3.8/ ~/projets/otb/src/OTB/Modules/*/*/src/*.cxx ~/projets/otb/src/OTB/Modules/*/*/app/*.cxx ~/projets/otb/src/OTB/Examples/*/*.cxx ~/projets/otb/src/OTB/Modules/*/*/test/*.cxx > ~/temporary/run-clang-tidy-nullptr-log.txt find . -type f -print -name "*.h" -o -name "*.txx" -o -name "*.cxx" |xargs perl -pi -e 's/nullptr/ITK_NULLPTR/g'
Showing
- CMake/otbTestNullPtr.cpp 1 addition, 1 deletionCMake/otbTestNullPtr.cpp
- Examples/Filtering/GeometriesChangeSpatialReference.cxx 3 additions, 3 deletionsExamples/Filtering/GeometriesChangeSpatialReference.cxx
- Examples/Filtering/GeometriesFilter.cxx 3 additions, 3 deletionsExamples/Filtering/GeometriesFilter.cxx
- Examples/IO/OGRWrappersExample.cxx 1 addition, 1 deletionExamples/IO/OGRWrappersExample.cxx
- Examples/Learning/SEMModelEstimatorExample.cxx 2 additions, 2 deletionsExamples/Learning/SEMModelEstimatorExample.cxx
- Examples/Learning/SOMExample.cxx 1 addition, 1 deletionExamples/Learning/SOMExample.cxx
- Examples/Projections/OrthoRectificationExample.cxx 2 additions, 2 deletionsExamples/Projections/OrthoRectificationExample.cxx
- Examples/Projections/SensorModelExample.cxx 2 additions, 2 deletionsExamples/Projections/SensorModelExample.cxx
- Examples/Simulation/LAIAndPROSAILToSensorResponse.cxx 3 additions, 3 deletionsExamples/Simulation/LAIAndPROSAILToSensorResponse.cxx
- Examples/Tutorials/OrthoFusion.cxx 2 additions, 2 deletionsExamples/Tutorials/OrthoFusion.cxx
- Modules/Adapters/CurlAdapters/src/otbCurlHelper.cxx 1 addition, 1 deletionModules/Adapters/CurlAdapters/src/otbCurlHelper.cxx
- Modules/Adapters/GdalAdapters/include/otbOGRDataSourceWrapper.h 4 additions, 4 deletions...s/Adapters/GdalAdapters/include/otbOGRDataSourceWrapper.h
- Modules/Adapters/GdalAdapters/include/otbOGRHelpers.h 2 additions, 2 deletionsModules/Adapters/GdalAdapters/include/otbOGRHelpers.h
- Modules/Adapters/GdalAdapters/include/otbOGRLayerWrapper.h 3 additions, 3 deletionsModules/Adapters/GdalAdapters/include/otbOGRLayerWrapper.h
- Modules/Adapters/GdalAdapters/src/otbGeometriesToGeometriesFilter.cxx 1 addition, 1 deletion...ters/GdalAdapters/src/otbGeometriesToGeometriesFilter.cxx
- Modules/Adapters/GdalAdapters/src/otbOGRDataSourceWrapper.cxx 6 additions, 6 deletions...les/Adapters/GdalAdapters/src/otbOGRDataSourceWrapper.cxx
- Modules/Adapters/GdalAdapters/src/otbOGRLayerWrapper.cxx 1 addition, 1 deletionModules/Adapters/GdalAdapters/src/otbOGRLayerWrapper.cxx
- Modules/Adapters/GdalAdapters/src/otbOGRVersionProxy1x.cxx 1 addition, 1 deletionModules/Adapters/GdalAdapters/src/otbOGRVersionProxy1x.cxx
- Modules/Adapters/GdalAdapters/test/otbOGRDataSourceWrapperNew.cxx 8 additions, 8 deletions...Adapters/GdalAdapters/test/otbOGRDataSourceWrapperNew.cxx
- Modules/Adapters/OSSIMAdapters/src/otbDEMConvertAdapter.cxx 1 addition, 1 deletionModules/Adapters/OSSIMAdapters/src/otbDEMConvertAdapter.cxx
Loading
Please register or sign in to comment