From b1aa88e8daa652ccf58cda7174c3e091753570e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org> Date: Tue, 12 Dec 2023 17:32:43 +0100 Subject: [PATCH] Add clang-tidy configuration file [skip ci] --- .clang-tidy | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .clang-tidy diff --git a/.clang-tidy b/.clang-tidy new file mode 100644 index 0000000000..12524da2d5 --- /dev/null +++ b/.clang-tidy @@ -0,0 +1,9 @@ +# NB: to use clang-tidy on the MEX source code, make sure that you have +# libomp-dev installed (the LLVM implementation of OpenMP) + +# TODO: add the following check families: +# - performance-* +# - bugprone-* +# - cppcoreguidelines- + +Checks: 'modernize-*,-modernize-use-trailing-return-type,-clang-diagnostic-unqualified-std-cast-call' -- GitLab