summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-01-02 14:48:02 +0100
committerDavid Robillard <d@drobilla.net>2021-01-02 14:48:02 +0100
commit96f997778b53ca9770b7f6f067453527f8e34185 (patch)
treefcc2724c5726dde9226c393316f7af5d7f893d69
parentbd0214b1da66225f410641692e89e492f668472a (diff)
downloadraul-96f997778b53ca9770b7f6f067453527f8e34185.tar.gz
raul-96f997778b53ca9770b7f6f067453527f8e34185.tar.bz2
raul-96f997778b53ca9770b7f6f067453527f8e34185.zip
Run checks on headers
-rw-r--r--.clant.json1
-rw-r--r--include/.clang-tidy3
2 files changed, 4 insertions, 0 deletions
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