From 86e5e821531ff563b7e4642aa792d9e0f3067557 Mon Sep 17 00:00:00 2001 From: David Robillard <d@drobilla.net> Date: Sat, 10 Dec 2022 14:51:34 -0500 Subject: Test headers for warnings more strictly --- .clang-tidy | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .clang-tidy (limited to '.clang-tidy') 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: '*' -- cgit v1.2.1