s3fs-fuse/.clang-tidy

86 lines
3.0 KiB
Plaintext
Raw Normal View History

2023-08-17 13:42:11 +00:00
WarningsAsErrors: '*'
Checks: '
*,
-abseil-*,
-altera-*,
-android-*,
2024-10-13 01:09:47 +00:00
-boost-*,
2022-11-21 14:29:35 +00:00
-bugprone-assignment-in-if-condition,
2019-11-30 07:25:26 +00:00
-bugprone-branch-clone,
-bugprone-easily-swappable-parameters,
-bugprone-implicit-widening-of-multiplication-result,
-bugprone-macro-parentheses,
2021-05-03 00:43:18 +00:00
-bugprone-narrowing-conversions,
-bugprone-unhandled-self-assignment,
-cert-dcl50-cpp,
-cert-env33-c,
-cert-err33-c,
-cert-err58-cpp,
-clang-analyzer-security.insecureAPI.strcpy,
-clang-analyzer-unix.BlockInCriticalSection,
-concurrency-mt-unsafe,
-cppcoreguidelines-avoid-c-arrays,
-cppcoreguidelines-avoid-do-while,
-cppcoreguidelines-avoid-magic-numbers,
-cppcoreguidelines-avoid-non-const-global-variables,
-cppcoreguidelines-init-variables,
-cppcoreguidelines-macro-usage,
-cppcoreguidelines-no-malloc,
-cppcoreguidelines-owning-memory,
-cppcoreguidelines-pro-bounds-array-to-pointer-decay,
-cppcoreguidelines-pro-bounds-constant-array-index,
-cppcoreguidelines-pro-bounds-pointer-arithmetic,
-cppcoreguidelines-pro-type-member-init,
-cppcoreguidelines-pro-type-reinterpret-cast,
-cppcoreguidelines-pro-type-union-access,
-cppcoreguidelines-pro-type-vararg,
2024-06-23 02:49:59 +00:00
-cppcoreguidelines-special-member-functions,
-fuchsia-*,
-google-build-using-namespace,
-google-readability-casting,
2019-11-30 07:25:26 +00:00
-google-readability-function-size,
-google-readability-todo,
-google-runtime-int,
-google-runtime-references,
-hicpp-*,
-llvm-*,
-llvmlibc-*,
2022-11-21 14:29:35 +00:00
-misc-const-correctness,
2023-11-12 02:48:08 +00:00
-misc-include-cleaner,
-misc-no-recursion,
2024-06-23 02:49:59 +00:00
-misc-non-private-member-variables-in-classes,
-misc-redundant-expression,
-misc-unused-parameters,
2023-05-13 16:59:26 +00:00
-misc-use-anonymous-namespace,
2024-06-23 03:21:51 +00:00
-misc-use-internal-linkage,
-modernize-avoid-c-arrays,
-modernize-loop-convert,
-modernize-make-unique,
2024-06-23 02:49:59 +00:00
-modernize-use-nodiscard,
2022-11-21 14:29:35 +00:00
-modernize-raw-string-literal,
-modernize-return-braced-init-list,
2023-07-29 00:19:18 +00:00
-modernize-use-default-member-init,
2019-11-30 07:25:26 +00:00
-modernize-use-trailing-return-type,
-modernize-use-using,
2023-11-12 02:48:08 +00:00
-performance-avoid-endl,
2021-05-03 00:43:18 +00:00
-performance-no-int-to-ptr,
2024-03-06 16:04:22 +00:00
-readability-avoid-nested-conditional-operator,
2023-05-13 16:59:26 +00:00
-readability-braces-around-statements,
-readability-else-after-return,
2021-05-03 00:43:18 +00:00
-readability-function-cognitive-complexity,
2019-11-30 07:25:26 +00:00
-readability-function-size,
2022-11-21 14:29:35 +00:00
-readability-identifier-length,
-readability-inconsistent-declaration-parameter-name,
-readability-isolate-declaration,
-readability-magic-numbers,
2024-06-23 03:21:51 +00:00
-readability-math-missing-parentheses,
-readability-named-parameter,
2024-06-23 02:49:59 +00:00
-readability-redundant-access-specifiers,
-readability-redundant-declaration,
2022-11-21 14:29:35 +00:00
-readability-simplify-boolean-expr,
-readability-suspicious-call-argument'
CheckOptions:
cppcoreguidelines-narrowing-conversions.WarnOnEquivalentBitWidth: 'false'
readability-implicit-bool-conversion.AllowIntegerConditions: 'true'
readability-implicit-bool-conversion.AllowPointerConditions: 'true'