From 51aae63069fb93a9994cae72f8c28cee06f92362 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 21 Jan 2025 11:48:14 -0500 Subject: Add header warning tests --- test/headers/.clang-tidy | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 test/headers/.clang-tidy (limited to 'test/headers/.clang-tidy') diff --git a/test/headers/.clang-tidy b/test/headers/.clang-tidy new file mode 100644 index 0000000..7ec81cf --- /dev/null +++ b/test/headers/.clang-tidy @@ -0,0 +1,16 @@ +# Copyright 2020-2025 David Robillard +# SPDX-License-Identifier: 0BSD OR ISC + +Checks: > + *, + -*-magic-numbers, + -altera-*, + -llvmlibc-*, +CheckOptions: + - key: readability-function-cognitive-complexity.Threshold + value: '0' + - key: readability-identifier-length.IgnoredParameterNames + value: '^(id)|(x)|(y)$' +FormatStyle: file +HeaderFilterRegex: '.*' +WarningsAsErrors: '*' -- cgit v1.2.1