Skip to content
Snippets Groups Projects
  1. Jun 16, 2016
    • Manuel Grizonnet's avatar
      ENH: Explicitly recognize virtual functions in applications · 29522e41
      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.
      
              #Run clang modernize check using utility script which allow to process the code in parallel (only on Applications directory)
              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/Modules/Applications/.*/include/.* -j8 -fix -p ~/projets/otb/bin/release/OTB-clang3.8/ ~/projets/otb/src/OTB/Modules/Applications/*/app/*.cxx  > ~/temporary/run-clang-tidy-app-log.txt
      
              #Replace override by ITK macro (to maintain compat with c++98) in Modules/Applications
              find . -type f -print -name "*.cxx" |xargs perl -pi -e 's/\ override/\ ITK_OVERRIDE/g'
      29522e41
  2. Jun 06, 2016
  3. May 02, 2016
  4. Apr 29, 2016
  5. Apr 07, 2016
  6. Apr 06, 2016
  7. Apr 05, 2016
  8. Mar 29, 2016
  9. Mar 23, 2016
  10. Mar 18, 2016
  11. Mar 16, 2016
  12. Mar 14, 2016
  13. Mar 10, 2016
  14. Mar 07, 2016
  15. Feb 18, 2016
  16. Feb 11, 2016
  17. Feb 03, 2016
  18. Jan 27, 2016
  19. Jan 22, 2016
  20. Jan 07, 2016
  21. Jan 06, 2016
  22. Jan 05, 2016
Loading