From 2bc1126e3e6310464adc8e5aea04f15fb4c72341 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 24 Feb 2019 19:28:11 +0100 Subject: Add clang-tidy file --- .clang-tidy | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .clang-tidy (limited to '.clang-tidy') diff --git a/.clang-tidy b/.clang-tidy new file mode 100644 index 00000000..da32b49e --- /dev/null +++ b/.clang-tidy @@ -0,0 +1,32 @@ +Checks: > + *, + -*magic-numbers, + -*uppercase-literal-suffix, + -android-cloexec-fopen, + -bugprone-branch-clone, + -bugprone-misplaced-widening-cast, + -bugprone-suspicious-string-compare, + -cert-dcl50-cpp, + -cert-msc30-c, + -cert-msc50-cpp, + -clang-analyzer-alpha.*, + -cppcoreguidelines-pro-bounds-array-to-pointer-decay, + -cppcoreguidelines-pro-bounds-pointer-arithmetic, + -cppcoreguidelines-pro-type-reinterpret-cast, + -fuchsia-default-arguments, + -fuchsia-overloaded-operator, + -google-explicit-constructor, + -google-readability-todo, + -google-runtime-references, + -hicpp-invalid-access-moved, + -hicpp-multiway-paths-covered, + -hicpp-no-array-decay, + -hicpp-signed-bitwise, + -hicpp-vararg, + -llvm-header-guard, + -readability-else-after-return, + -readability-implicit-bool-conversion, + -readability-named-parameter, +WarningsAsErrors: '' +HeaderFilterRegex: '.*' +FormatStyle: file -- cgit v1.2.1