diff options
author | David Robillard <d@drobilla.net> | 2025-01-21 11:48:14 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2025-01-21 11:48:14 -0500 |
commit | 51aae63069fb93a9994cae72f8c28cee06f92362 (patch) | |
tree | f708c503a72d2c4bf06856d81cf49286b02b10b7 /test/headers/.clang-tidy | |
parent | 8c8c268bf2166b9049b51cde89a3330462771249 (diff) | |
download | pugl-51aae63069fb93a9994cae72f8c28cee06f92362.tar.gz pugl-51aae63069fb93a9994cae72f8c28cee06f92362.tar.bz2 pugl-51aae63069fb93a9994cae72f8c28cee06f92362.zip |
Add header warning tests
Diffstat (limited to 'test/headers/.clang-tidy')
-rw-r--r-- | test/headers/.clang-tidy | 16 |
1 files changed, 16 insertions, 0 deletions
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 <d@drobilla.net> +# 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: '*' |