cbm-fles / flesnet

CBM FLES Timeslice Building
7 stars 22 forks source link

Add clang-tidy checks to build system #95

Closed cuveland closed 2 years ago

cuveland commented 2 years ago

This PR adds a selection of clang-tidy checks to the build system. It utilizes CMake's native support for clang-tidy, which adds the checks to every build procedure. Only a hand-picked selection of checks is performed, and it is performed only on a selection of the sources. Where feasible, the existing sources have been modified to not trigger any warnings. At the current state, the CMake build does not show any warning or error message.