From 24327302723df7c9d32d9a540cd1f586489ea616 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 9 Sep 2022 13:10:43 -0400 Subject: Clean up clang-tidy configuration --- plugins/.clang-tidy | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 plugins/.clang-tidy (limited to 'plugins') diff --git a/plugins/.clang-tidy b/plugins/.clang-tidy new file mode 100644 index 0000000..b1adcb3 --- /dev/null +++ b/plugins/.clang-tidy @@ -0,0 +1,22 @@ +# Copyright 2020-2022 David Robillard +# SPDX-License-Identifier: 0BSD OR ISC + +Checks: > + *, + -*-magic-numbers, + -*-narrowing-conversions, + -*-uppercase-literal-suffix, + -altera-*, + -bugprone-easily-swappable-parameters, + -bugprone-macro-parentheses, + -cert-err33-c, + -hicpp-signed-bitwise, + -llvm-header-guard, + -llvmlibc-*, + -misc-unused-parameters, + -performance-no-int-to-ptr, + -readability-function-cognitive-complexity, + -readability-identifier-length, +WarningsAsErrors: '*' +HeaderFilterRegex: '.*' +FormatStyle: file -- cgit v1.2.1