From 96f997778b53ca9770b7f6f067453527f8e34185 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 2 Jan 2021 14:48:02 +0100 Subject: Run checks on headers --- .clant.json | 1 + include/.clang-tidy | 3 +++ 2 files changed, 4 insertions(+) diff --git a/.clant.json b/.clant.json index 76cae6d..712d9d2 100644 --- a/.clant.json +++ b/.clant.json @@ -1,4 +1,5 @@ { "version": "1.0.0", + "include_dirs": ["include"], "mapping_files": [".includes.imp"] } diff --git a/include/.clang-tidy b/include/.clang-tidy index 792d991..4298558 100644 --- a/include/.clang-tidy +++ b/include/.clang-tidy @@ -4,6 +4,7 @@ Checks: > -*-magic-numbers, -*-no-malloc, -*-uppercase-literal-suffix, + -abseil-string-find-str-contains, -android-cloexec-accept, -bugprone-branch-clone, -clang-diagnostic-unused-macros, @@ -16,8 +17,10 @@ Checks: > -fuchsia-overloaded-operator, -google-runtime-int, -hicpp-no-array-decay, + -llvmlibc-*, -modernize-use-trailing-return-type, -readability-implicit-bool-conversion, + -readability-use-anyofallof, WarningsAsErrors: '*' HeaderFilterRegex: '.*' FormatStyle: file -- cgit v1.2.1