summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.clant.json4
-rw-r--r--include/.clang-tidy9
2 files changed, 13 insertions, 0 deletions
diff --git a/.clant.json b/.clant.json
new file mode 100644
index 0000000..a7d2f5f
--- /dev/null
+++ b/.clant.json
@@ -0,0 +1,4 @@
+{
+ "version": "1.0.0",
+ "include_dirs": ["include"]
+}
diff --git a/include/.clang-tidy b/include/.clang-tidy
new file mode 100644
index 0000000..b5b1943
--- /dev/null
+++ b/include/.clang-tidy
@@ -0,0 +1,9 @@
+Checks: >
+ *,
+ -clang-diagnostic-unused-function,
+ -clang-diagnostic-unused-macros,
+ -hicpp-multiway-paths-covered,
+ -llvmlibc-*,
+WarningsAsErrors: '*'
+HeaderFilterRegex: '.*'
+FormatStyle: file