aboutsummaryrefslogtreecommitdiffstats
path: root/.clang-tidy
diff options
context:
space:
mode:
Diffstat (limited to '.clang-tidy')
-rw-r--r--.clang-tidy19
1 files changed, 19 insertions, 0 deletions
diff --git a/.clang-tidy b/.clang-tidy
new file mode 100644
index 00000000..93269b93
--- /dev/null
+++ b/.clang-tidy
@@ -0,0 +1,19 @@
+Checks: >
+ *,
+ -*-magic-numbers,
+ -*-uppercase-literal-suffix,
+ -android-cloexec-fopen,
+ -bugprone-branch-clone,
+ -bugprone-suspicious-string-compare,
+ -cert-msc30-c,
+ -cert-msc50-cpp,
+ -clang-analyzer-alpha.*,
+ -clang-analyzer-valist.Uninitialized,
+ -google-readability-todo,
+ -hicpp-signed-bitwise,
+ -llvm-header-guard,
+ -readability-else-after-return,
+ -readability-implicit-bool-conversion,
+WarningsAsErrors: '*'
+HeaderFilterRegex: '.*'
+FormatStyle: file