aboutsummaryrefslogtreecommitdiffstats
path: root/.clang-tidy
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-12-10 14:51:34 -0500
committerDavid Robillard <d@drobilla.net>2022-12-11 13:15:02 -0500
commit86e5e821531ff563b7e4642aa792d9e0f3067557 (patch)
tree8c637653d8222471309f762eb36bc774f62a8fc2 /.clang-tidy
parentd102b7df35d900d568e49e640a5331f283717737 (diff)
downloadlv2-86e5e821531ff563b7e4642aa792d9e0f3067557.tar.xz
Test headers for warnings more strictly
Diffstat (limited to '.clang-tidy')
-rw-r--r--.clang-tidy16
1 files changed, 16 insertions, 0 deletions
diff --git a/.clang-tidy b/.clang-tidy
new file mode 100644
index 0000000..a94c72f
--- /dev/null
+++ b/.clang-tidy
@@ -0,0 +1,16 @@
+# Copyright 2020-2022 David Robillard <d@drobilla.net>
+# SPDX-License-Identifier: 0BSD OR ISC
+
+Checks: >
+ *,
+ -altera-*,
+ -llvm-header-guard,
+ -llvmlibc-restrict-system-libc-headers,
+CheckOptions:
+ - key: hicpp-uppercase-literal-suffix.NewSuffixes
+ value: L;U;f
+ - key: readability-uppercase-literal-suffix.NewSuffixes
+ value: L;U;f
+FormatStyle: file
+HeaderFilterRegex: 'lv2/.*\.h'
+WarningsAsErrors: '*'