Skip to content
Snippets Groups Projects
Select Git revision
0 results

sbs

  • Damiano Amatruda's avatar
    d2aeac58
    [SBS] Allow to edit and add support for clang-tidy · d2aeac58
    Damiano Amatruda authored
    - SBS wrapper script now requests CMake to create file
      'compile_commands.json', which is used by clang-tidy and
      IntelliSense (VSCode). It could also be used by Cppcheck, but
      currently Cppcheck checks files with also options of targets excluded
      from 'all', therefore being much more slower.
    - clang-tidy is supported by using implicit definitions and implicit
      include directories of arm-miosix-eabi-g++. However, clang-tidy
      outputs errors due to Miosix using CMSIS headers that do not support
      Clang.
    - Cppcheck is no longer quiet, in order to monitor progress.
    - Script arguments are parsed in alphabetical order.
    - Lint tools are reordered based on duration and priority.
    - New option '-e/--edit' allows clang-tidy and clang-format to
      automatically fix the code by editing files in-place.
    - New option '--clang-tidy' allows to use clang-tidy (it is not run by
      default).
    - Help message is reorganized.
    d2aeac58
    History
    [SBS] Allow to edit and add support for clang-tidy
    Damiano Amatruda authored
    - SBS wrapper script now requests CMake to create file
      'compile_commands.json', which is used by clang-tidy and
      IntelliSense (VSCode). It could also be used by Cppcheck, but
      currently Cppcheck checks files with also options of targets excluded
      from 'all', therefore being much more slower.
    - clang-tidy is supported by using implicit definitions and implicit
      include directories of arm-miosix-eabi-g++. However, clang-tidy
      outputs errors due to Miosix using CMSIS headers that do not support
      Clang.
    - Cppcheck is no longer quiet, in order to monitor progress.
    - Script arguments are parsed in alphabetical order.
    - Lint tools are reordered based on duration and priority.
    - New option '-e/--edit' allows clang-tidy and clang-format to
      automatically fix the code by editing files in-place.
    - New option '--clang-tidy' allows to use clang-tidy (it is not run by
      default).
    - Help message is reorganized.