diff options
author | David Robillard <d@drobilla.net> | 2022-12-10 13:41:44 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-12-10 18:02:56 -0500 |
commit | e0281d51ab8c6ca05a8b467901e5bd96d829bb56 (patch) | |
tree | f1915fe372ba17a7b201e7750203e98336cf0a6a /src | |
parent | 7b0ad2cd8cecd78967405046bef89a8b0c836b19 (diff) | |
download | lilv-e0281d51ab8c6ca05a8b467901e5bd96d829bb56.tar.gz lilv-e0281d51ab8c6ca05a8b467901e5bd96d829bb56.tar.bz2 lilv-e0281d51ab8c6ca05a8b467901e5bd96d829bb56.zip |
Strengthen clang-tidy configuration
Diffstat (limited to 'src')
-rw-r--r-- | src/.clang-tidy | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/.clang-tidy b/src/.clang-tidy new file mode 100644 index 0000000..5bf8761 --- /dev/null +++ b/src/.clang-tidy @@ -0,0 +1,23 @@ +# Copyright 2020-2022 David Robillard <d@drobilla.net> +# SPDX-License-Identifier: 0BSD OR ISC + +Checks: > + -*-magic-numbers, + -*-uppercase-literal-suffix, + -android-cloexec-fopen, + -bugprone-branch-clone, + -bugprone-narrowing-conversions, + -bugprone-suspicious-string-compare, + -cert-err33-c, + -cert-err34-c, + -clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling, + -clang-analyzer-valist.Uninitialized, + -concurrency-mt-unsafe, + -cppcoreguidelines-narrowing-conversions, + -google-readability-todo, + -hicpp-multiway-paths-covered, + -hicpp-signed-bitwise, + -readability-function-cognitive-complexity, + -readability-identifier-length, + -readability-suspicious-call-argument, +InheritParentConfig: true |