summaryrefslogtreecommitdiffstats
path: root/.clang-tidy
diff options
context:
space:
mode:
authorJan Niklas Hasse <jhasse@bixense.com>2020-04-24 10:59:51 (GMT)
committerJan Niklas Hasse <jhasse@bixense.com>2020-05-18 15:18:10 (GMT)
commit281618a81b8b00cff7c7b71e9fc7c5077b70de95 (patch)
tree0fd4fe965a08c6ae7b17798c5d60a61e5b6bfe9a /.clang-tidy
parentcf021f32e62370b7f9c8249a6c600cbe48e849c7 (diff)
downloadNinja-281618a81b8b00cff7c7b71e9fc7c5077b70de95.zip
Ninja-281618a81b8b00cff7c7b71e9fc7c5077b70de95.tar.gz
Ninja-281618a81b8b00cff7c7b71e9fc7c5077b70de95.tar.bz2
GitHub Actions: Also run on Ubuntu 18.04
Builds with both GCC and Clang and runs clang-tidy, too.
Diffstat (limited to '.clang-tidy')
-rw-r--r--.clang-tidy9
1 files changed, 9 insertions, 0 deletions
diff --git a/.clang-tidy b/.clang-tidy
new file mode 100644
index 0000000..0b453ba
--- /dev/null
+++ b/.clang-tidy
@@ -0,0 +1,9 @@
+---
+Checks: '
+ ,readability-avoid-const-params-in-decls,
+ ,readability-non-const-parameter,
+'
+WarningsAsErrors: '
+ ,readability-avoid-const-params-in-decls,
+ ,readability-non-const-parameter,
+'