diff options
author | David Robillard <d@drobilla.net> | 2022-12-10 12:11:49 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-12-11 13:09:54 -0500 |
commit | 9fb939e1a9fb1b0f13e1818e1c81bc15b70e8c64 (patch) | |
tree | 9cb043a9c67fb9776085a97d615cee17f3793a50 /src | |
parent | 07248d1c3ea7cb071aafddebf0ba98221baa08d0 (diff) | |
download | sratom-9fb939e1a9fb1b0f13e1818e1c81bc15b70e8c64.tar.gz sratom-9fb939e1a9fb1b0f13e1818e1c81bc15b70e8c64.tar.bz2 sratom-9fb939e1a9fb1b0f13e1818e1c81bc15b70e8c64.zip |
Make clang-tidy configuration clean when run via meson
Diffstat (limited to 'src')
-rw-r--r-- | src/.clang-tidy | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/.clang-tidy b/src/.clang-tidy new file mode 100644 index 0000000..0ec528b --- /dev/null +++ b/src/.clang-tidy @@ -0,0 +1,17 @@ +# Copyright 2020-2022 David Robillard <d@drobilla.net> +# SPDX-License-Identifier: 0BSD OR ISC + +Checks: > + -*-magic-numbers, + -*-narrowing-conversions, + -*-uppercase-literal-suffix, + -bugprone-easily-swappable-parameters, + -bugprone-suspicious-string-compare, + -cert-err33-c, + -cert-err34-c, + -clang-analyzer-unix.Malloc, + -hicpp-signed-bitwise, + -misc-no-recursion, + -readability-function-cognitive-complexity, + -readability-identifier-length, +InheritParentConfig: true |