- Jun 07, 2018
-
-
Victor Poughon authored
-
- Mar 12, 2018
-
-
Julien Michel authored
STY: Change ITK_OVERRIDE for override in whole code (find Modules -type f -exec sed -i 's/ITK_OVERRIDE/override/g' {} +)
-
- Nov 01, 2017
-
-
Laurențiu Nicola authored
-
- Mar 08, 2017
-
-
Sébastien Dinot authored
-
Sébastien Dinot authored
-
- Jan 19, 2017
-
-
Ludovic Hussonnois authored
-
- Jan 18, 2017
-
-
Ludovic Hussonnois authored
-
Ludovic Hussonnois authored
-
- Jan 02, 2017
-
-
Guillaume Pasero authored
-
- Oct 06, 2016
-
-
Rashad Kanavath authored
-
- Oct 02, 2016
-
-
Jordi Inglada authored
-
Jordi Inglada authored
-
- Oct 01, 2016
-
-
Jordi Inglada authored
no need for the max frequencies; only need to know if they are different
-
Jordi Inglada authored
-
Jordi Inglada authored
- make vars const - copy map into vector on construction - typedefs for code readability
-
Jordi Inglada authored
-
- Sep 30, 2016
-
-
Jordi Inglada authored
-
Jordi Inglada authored
-
Jordi Inglada authored
for code readability and avoid passign the vector to the method, which may allow changing the histogram implementation
-
Jordi Inglada authored
-
Jordi Inglada authored
-
Jordi Inglada authored
-
Jordi Inglada authored
-
- Sep 29, 2016
-
-
Jordi Inglada authored
-
Jordi Inglada authored
-
Jordi Inglada authored
-
Jordi Inglada authored
-
Jordi Inglada authored
-
Jordi Inglada authored
-
Jordi Inglada authored
-
Jordi Inglada authored
-
Jordi Inglada authored
-
Jordi Inglada authored
-
Jordi Inglada authored
-
- Sep 15, 2016
-
-
Manuel Grizonnet authored
-
- Jun 16, 2016
-
-
Manuel Grizonnet authored
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'
-
- Jun 13, 2016
-
-
Manuel Grizonnet authored
Used the following command: find . \( -iname *.txx -and ! -path *ThirdParty* \) -exec perl -pi -w -e 's/__otb(.*)_txx/otb$1_txx/g;' {} \; find . \( -iname *.h -and ! -path *ThirdParty* \) -exec perl -pi -w -e 's/__otb(.*)_h/otb$1_h/g;' {} \; Fixes many, but not all, clang -Wreserved-id-macro warnings.
-
- Jun 10, 2016
-
-
Manuel Grizonnet authored
clang-tidy tool can insert missing override keyword as a macro so that missing [optional] virtual identifiers can be easily added. build otb with clang 3.8 and use cmake option CMAKE_EXPORT_COMPILE_COMMANDS=ON. Most modules and third parties have been activated. #Save override occurences in otb code cd src/Modules ; grep -nR "override" * > ~/temporary/override_otb.txt #Run clang modernize check using utility script which allow to process the code in parallel 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-override -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/Examples/*/*.cxx ~/projets/otb/src/OTB/Modules/*/*/test/*.cxx > ~/temporary/run-clang-tidy-log.txt #Replace override by ITK macro (to maintain compat with c++98) find . -type f -print -name "*.h" -o -name "*.txx" |xargs perl -pi -e 's/\ override/\ ITK_OVERRIDE/g'
-
- Dec 08, 2015
-
-
Guillaume Pasero authored
-
- Sep 18, 2015
-
-
Guillaume Pasero authored
-