aboutsummaryrefslogtreecommitdiffstats
path: root/bindings/cpp/.clang-tidy
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-06-16 10:26:47 -0400
committerDavid Robillard <d@drobilla.net>2023-12-02 18:49:08 -0500
commit8fb8b922fb7575d7aed2f2184a02586b56ba873a (patch)
tree06ea3a48cefb5cb221359b17911380460e68e7c8 /bindings/cpp/.clang-tidy
parent74ddf7934336f16dcdce688333040d82972817fc (diff)
downloadserd-8fb8b922fb7575d7aed2f2184a02586b56ba873a.tar.gz
serd-8fb8b922fb7575d7aed2f2184a02586b56ba873a.tar.bz2
serd-8fb8b922fb7575d7aed2f2184a02586b56ba873a.zip
[WIP] Add C++ bindings
Diffstat (limited to 'bindings/cpp/.clang-tidy')
-rw-r--r--bindings/cpp/.clang-tidy24
1 files changed, 24 insertions, 0 deletions
diff --git a/bindings/cpp/.clang-tidy b/bindings/cpp/.clang-tidy
new file mode 100644
index 00000000..ced5452a
--- /dev/null
+++ b/bindings/cpp/.clang-tidy
@@ -0,0 +1,24 @@
+# Copyright 2020-2022 David Robillard <d@drobilla.net>
+# SPDX-License-Identifier: 0BSD OR ISC
+
+Checks: >
+ *,
+ -altera-*,
+ -bugprone-easily-swappable-parameters,
+ -cert-dcl50-cpp,
+ -google-readability-todo,
+ -llvmlibc-*,
+ -modernize-concat-nested-namespaces,
+ -modernize-unary-static-assert,
+ -modernize-use-nodiscard,
+ -modernize-use-trailing-return-type,
+ -readability-identifier-length,
+ -readability-named-parameter,
+CheckOptions:
+ - key: hicpp-uppercase-literal-suffix.NewSuffixes
+ value: 'L;U;UL;ULL'
+ - key: readability-uppercase-literal-suffix.NewSuffixes
+ value: 'L;U;UL;ULL'
+WarningsAsErrors: '*'
+HeaderFilterRegex: '.*/serd/.*\.h.*'
+FormatStyle: file