.clang-tidy
This MR consolidates the following discussions:
- https://gitlab.eclipse.org/eclipse/simopenpass/scenario_api/-/issues/20 (issue for this MR)
- https://gitlab.eclipse.org/eclipse/simopenpass/scenario_api/-/merge_requests/7 (initial proposal)
- https://gitlab.eclipse.org/eclipse/simopenpass/scenario_api/-/merge_requests/74 (improved proposal + some discussion)
It also includes the changes by @mstump, necessary for proper execution of clang-tidy
- https://gitlab.eclipse.org/eclipse/simopenpass/scenario_api/-/merge_requests/76 (creating compile commands)
This commit includes 2 commits:
- .clang-tidy file, taken from https://gitlab.eclipse.org/eclipse/simopenpass/scenario_api/-/merge_requests/7 with minor adjustmens, as discussed in https://gitlab.eclipse.org/eclipse/simopenpass/scenario_api/-/issues/20 + some "on the fly" changes (e.g fix virtual/override → would create warnings with Doxygen ;) )
The changes have been directly applied using the following commands:
mkdir build && cd build cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON .. cd .. find include -name "*.h" -exec clang-tidy -p build/compile_commands.json {} --fix \;
- in a second commit I removed some checks - more as a point of discussion. Please review individually.
Closes #20 (closed)