From e0281d51ab8c6ca05a8b467901e5bd96d829bb56 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 10 Dec 2022 13:41:44 -0500 Subject: Strengthen clang-tidy configuration --- tools/.clang-tidy | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 tools/.clang-tidy (limited to 'tools') diff --git a/tools/.clang-tidy b/tools/.clang-tidy new file mode 100644 index 0000000..c642a20 --- /dev/null +++ b/tools/.clang-tidy @@ -0,0 +1,18 @@ +# Copyright 2020-2022 David Robillard +# SPDX-License-Identifier: 0BSD OR ISC + +Checks: > + -*-magic-numbers, + -*-uppercase-literal-suffix, + -android-cloexec-fopen, + -bugprone-easily-swappable-parameters, + -bugprone-narrowing-conversions, + -cert-err33-c, + -cert-err34-c, + -cppcoreguidelines-avoid-non-const-global-variables, + -cppcoreguidelines-narrowing-conversions, + -hicpp-signed-bitwise, + -misc-no-recursion, + -readability-function-cognitive-complexity, + -readability-identifier-length, +InheritParentConfig: true -- cgit v1.2.1