1
0
Fork 0

Merge pull request #196 from Avamander/patch-8

Added clang-tidy configuration
This commit is contained in:
JF002 2021-01-31 21:05:50 +01:00 committed by GitHub
commit 1ea4c7d744
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

26
.clang-tidy Normal file
View file

@ -0,0 +1,26 @@
Checks: '*,
-llvmlibc-callee-namespace,
-llvm-header-guard,
-llvm-namespace-comment,
-google-build-using-namespace,
-google-runtime-int,
-google-readability-namespace-comments,
-fuchsia-statically-constructed-objects,
-cppcoreguidelines-pro-bounds-array-to-pointer-decay,
-cppcoreguidelines-pro-bounds-constant-array-index,
-cppcoreguidelines-pro-type-union-access,
-cppcoreguidelines-pro-type-cstyle-cast,
-cppcoreguidelines-pro-type-vararg,
-cppcoreguidelines-avoid-magic-numbers,
-cppcoreguidelines-avoid-non-const-global-variables,
-cppcoreguidelines-avoid-c-arrays,
-readability-magic-numbers,
-readability-uppercase-literal-suffix,
-modernize-use-trailing-return-type,
-modernize-avoid-c-arrays,
-hicpp-signed-bitwise,
-hicpp-no-assembler,
-hicpp-avoid-c-arrays,
-hicpp-uppercase-literal-suffix,
-cert-err58-cpp,
-cert-err60-cpp'