From 86e5e821531ff563b7e4642aa792d9e0f3067557 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 10 Dec 2022 14:51:34 -0500 Subject: Test headers for warnings more strictly --- test/cpp/.clang-tidy | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 test/cpp/.clang-tidy (limited to 'test/cpp/.clang-tidy') diff --git a/test/cpp/.clang-tidy b/test/cpp/.clang-tidy new file mode 100644 index 0000000..02d730c --- /dev/null +++ b/test/cpp/.clang-tidy @@ -0,0 +1,26 @@ +# Copyright 2020-2022 David Robillard +# SPDX-License-Identifier: 0BSD OR ISC + +Checks: > + -*-avoid-c-arrays, + -*-deprecated-headers, + -*-no-malloc, + -*-use-auto, + -bugprone-reserved-identifier, + -cert-dcl37-c, + -cert-dcl50-cpp, + -cert-dcl51-cpp, + -cppcoreguidelines-macro-usage, + -cppcoreguidelines-owning-memory, + -cppcoreguidelines-pro-bounds-array-to-pointer-decay, + -cppcoreguidelines-pro-bounds-pointer-arithmetic, + -cppcoreguidelines-pro-type-cstyle-cast, + -cppcoreguidelines-pro-type-vararg, + -hicpp-no-array-decay, + -hicpp-vararg, + -llvmlibc-callee-namespace, + -modernize-use-nullptr, + -modernize-use-using, + -readability-implicit-bool-conversion, +InheritParentConfig: true + -- cgit v1.2.1