Commit a27a0192 authored by Ben Boeckel's avatar Ben Boeckel
Browse files

WIP: clang-tidy: remove exclusions

parent ee8db3ac
......@@ -3,80 +3,23 @@ Checks: "-*,\
boost-*,\
bugprone-*,\
-bugprone-argument-comment,\
-bugprone-branch-clone,\
-bugprone-fold-init-type,\
-bugprone-incorrect-roundings,\
-bugprone-infinite-loop,\
-bugprone-integer-division,\
-bugprone-macro-parentheses,\
-bugprone-misplaced-widening-cast,\
-bugprone-narrowing-conversions,\
-bugprone-not-null-terminated-result,\
-bugprone-parent-virtual-call,\
-bugprone-reserved-identifier,\
-bugprone-signed-char-misuse,\
-bugprone-sizeof-expression,\
-bugprone-string-constructor,\
-bugprone-suspicious-enum-usage,\
-bugprone-suspicious-include,\
-bugprone-suspicious-missing-comma,\
-bugprone-suspicious-semicolon,\
-bugprone-suspicious-string-compare,\
-bugprone-throw-keyword-missing,\
-bugprone-unhandled-self-assignment,\
-bugprone-unused-raii,\
-bugprone-unused-return-value,\
-bugprone-use-after-move,\
clang-analyzer-*,\
-clang-analyzer-core.CallAndMessage,\
-clang-analyzer-core.DivideZero,\
-clang-analyzer-core.NonNullParamChecker,\
-clang-analyzer-core.NullDereference,\
-clang-analyzer-core.StackAddressEscape,\
-clang-analyzer-core.UndefinedBinaryOperatorResult,\
-clang-analyzer-core.VLASize,\
-clang-analyzer-core.uninitialized.ArraySubscript,\
-clang-analyzer-core.uninitialized.Assign,\
-clang-analyzer-core.uninitialized.Branch,\
-clang-analyzer-core.uninitialized.UndefReturn,\
-clang-analyzer-cplusplus.InnerPointer,\
-clang-analyzer-cplusplus.Move,\
-clang-analyzer-cplusplus.NewDelete,\
-clang-analyzer-cplusplus.NewDeleteLeaks,\
-clang-analyzer-cplusplus.PlacementNew,\
-clang-analyzer-deadcode.DeadStores,\
-clang-analyzer-optin.cplusplus.UninitializedObject,\
-clang-analyzer-optin.cplusplus.VirtualCall,\
-clang-analyzer-optin.mpi.MPI-Checker,\
-clang-analyzer-optin.portability.UnixAPI,\
-clang-analyzer-security.FloatLoopCounter,\
-clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling,\
-clang-analyzer-security.insecureAPI.strcpy,\
-clang-analyzer-unix.Malloc,\
-clang-analyzer-unix.MallocSizeof,\
-clang-analyzer-unix.MismatchedDeallocator,\
-clang-analyzer-valist.Unterminated,\
misc-*,\
-misc-no-recursion,\
-misc-non-private-member-variables-in-classes,\
-misc-redundant-expression,\
-misc-throw-by-value-catch-by-reference,\
-misc-unconventional-assign-operator,\
-misc-unused-parameters,\
-misc-unused-using-decls,\
modernize-*,\
-modernize-avoid-c-arrays,\
-modernize-deprecated-headers,\
-modernize-loop-convert,\
-modernize-pass-by-value,\
-modernize-raw-string-literal,\
-modernize-redundant-void-arg,\
-modernize-replace-random-shuffle,\
-modernize-return-braced-init-list,\
-modernize-shrink-to-fit,\
-modernize-use-auto,\
-modernize-use-bool-literals,\
-modernize-use-default-member-init,\
-modernize-use-emplace,\
-modernize-use-equals-delete,\
-modernize-use-trailing-return-type,\
......@@ -84,44 +27,22 @@ modernize-*,\
mpi-*,\
openmp-*,\
performance-*,\
-performance-for-range-copy,\
-performance-inefficient-string-concatenation,\
-performance-inefficient-vector-operation,\
-performance-move-const-arg,\
-performance-no-automatic-move,\
-performance-noexcept-move-constructor,\
-performance-trivially-destructible,\
-performance-type-promotion-in-math-fn,\
-performance-unnecessary-copy-initialization,\
-performance-unnecessary-value-param,\
portability-*,\
readability-*,\
-readability-braces-around-statements,\
-readability-container-size-empty,\
-readability-convert-member-functions-to-static,\
-readability-delete-null-pointer,\
-readability-else-after-return,\
-readability-function-size,\
-readability-implicit-bool-conversion,\
-readability-inconsistent-declaration-parameter-name,\
-readability-isolate-declaration,\
-readability-magic-numbers,\
-readability-make-member-function-const,\
-readability-named-parameter,\
-readability-non-const-parameter,\
-readability-qualified-auto,\
-readability-redundant-access-specifiers,\
-readability-redundant-control-flow,\
-readability-redundant-declaration,\
-readability-redundant-member-init,\
-readability-redundant-preprocessor,\
-readability-redundant-smartptr-get,\
-readability-redundant-string-cstr,\
-readability-redundant-string-init,\
-readability-simplify-boolean-expr,\
-readability-static-accessed-through-instance,\
-readability-static-definition-in-anonymous-namespace,\
-readability-string-compare,\
-readability-uppercase-literal-suffix,\
-readability-use-anyofallof,\
"
......
......@@ -3,27 +3,5 @@
# we enable a single set of checks (because disabling all checks is an error).
Checks: "-*,\
bugprone-*,\
-bugprone-branch-clone,\
-bugprone-copy-constructor-init,\
-bugprone-exception-escape,\
-bugprone-fold-init-type,\
-bugprone-infinite-loop,\
-bugprone-integer-division,\
-bugprone-macro-parentheses,\
-bugprone-misplaced-widening-cast,\
-bugprone-multiple-statement-macro,\
-bugprone-narrowing-conversions,\
-bugprone-not-null-terminated-result,\
-bugprone-parent-virtual-call,\
-bugprone-reserved-identifier,\
-bugprone-signed-char-misuse,\
-bugprone-sizeof-expression,\
-bugprone-suspicious-include,\
-bugprone-suspicious-missing-comma,\
-bugprone-suspicious-semicolon,\
-bugprone-suspicious-string-compare,\
-bugprone-throw-keyword-missing,\
-bugprone-unhandled-self-assignment,\
-bugprone-unused-return-value,\
"
...
......@@ -3,28 +3,5 @@
# we enable a single set of checks (because disabling all checks is an error).
Checks: "-*,\
bugprone-*,\
-bugprone-branch-clone,\
-bugprone-copy-constructor-init,\
-bugprone-exception-escape,\
-bugprone-fold-init-type,\
-bugprone-infinite-loop,\
-bugprone-integer-division,\
-bugprone-macro-parentheses,\
-bugprone-misplaced-widening-cast,\
-bugprone-multiple-statement-macro,\
-bugprone-narrowing-conversions,\
-bugprone-not-null-terminated-result,\
-bugprone-parent-virtual-call,\
-bugprone-reserved-identifier,\
-bugprone-signed-char-misuse,\
-bugprone-sizeof-expression,\
-bugprone-suspicious-include,\
-bugprone-suspicious-missing-comma,\
-bugprone-suspicious-semicolon,\
-bugprone-suspicious-string-compare,\
-bugprone-terminating-continue,\
-bugprone-throw-keyword-missing,\
-bugprone-unhandled-self-assignment,\
-bugprone-unused-return-value,\
"
...
......@@ -3,27 +3,5 @@
# we enable a single set of checks (because disabling all checks is an error).
Checks: "-*,\
bugprone-*,\
-bugprone-branch-clone,\
-bugprone-copy-constructor-init,\
-bugprone-exception-escape,\
-bugprone-fold-init-type,\
-bugprone-infinite-loop,\
-bugprone-integer-division,\
-bugprone-macro-parentheses,\
-bugprone-misplaced-widening-cast,\
-bugprone-multiple-statement-macro,\
-bugprone-narrowing-conversions,\
-bugprone-not-null-terminated-result,\
-bugprone-parent-virtual-call,\
-bugprone-reserved-identifier,\
-bugprone-signed-char-misuse,\
-bugprone-sizeof-expression,\
-bugprone-suspicious-include,\
-bugprone-suspicious-missing-comma,\
-bugprone-suspicious-semicolon,\
-bugprone-suspicious-string-compare,\
-bugprone-throw-keyword-missing,\
-bugprone-unhandled-self-assignment,\
-bugprone-unused-return-value,\
"
...
......@@ -3,27 +3,5 @@
# we enable a single set of checks (because disabling all checks is an error).
Checks: "-*,\
bugprone-*,\
-bugprone-branch-clone,\
-bugprone-copy-constructor-init,\
-bugprone-exception-escape,\
-bugprone-fold-init-type,\
-bugprone-infinite-loop,\
-bugprone-integer-division,\
-bugprone-macro-parentheses,\
-bugprone-misplaced-widening-cast,\
-bugprone-multiple-statement-macro,\
-bugprone-narrowing-conversions,\
-bugprone-not-null-terminated-result,\
-bugprone-parent-virtual-call,\
-bugprone-reserved-identifier,\
-bugprone-signed-char-misuse,\
-bugprone-sizeof-expression,\
-bugprone-suspicious-include,\
-bugprone-suspicious-missing-comma,\
-bugprone-suspicious-semicolon,\
-bugprone-suspicious-string-compare,\
-bugprone-throw-keyword-missing,\
-bugprone-unhandled-self-assignment,\
-bugprone-unused-return-value,\
"
...
......@@ -3,27 +3,5 @@
# we enable a single set of checks (because disabling all checks is an error).
Checks: "-*,\
bugprone-*,\
-bugprone-branch-clone,\
-bugprone-copy-constructor-init,\
-bugprone-exception-escape,\
-bugprone-fold-init-type,\
-bugprone-infinite-loop,\
-bugprone-integer-division,\
-bugprone-macro-parentheses,\
-bugprone-misplaced-widening-cast,\
-bugprone-multiple-statement-macro,\
-bugprone-narrowing-conversions,\
-bugprone-not-null-terminated-result,\
-bugprone-parent-virtual-call,\
-bugprone-reserved-identifier,\
-bugprone-signed-char-misuse,\
-bugprone-sizeof-expression,\
-bugprone-suspicious-include,\
-bugprone-suspicious-missing-comma,\
-bugprone-suspicious-semicolon,\
-bugprone-suspicious-string-compare,\
-bugprone-throw-keyword-missing,\
-bugprone-unhandled-self-assignment,\
-bugprone-unused-return-value,\
"
...
......@@ -3,27 +3,5 @@
# we enable a single set of checks (because disabling all checks is an error).
Checks: "-*,\
bugprone-*,\
-bugprone-branch-clone,\
-bugprone-copy-constructor-init,\
-bugprone-exception-escape,\
-bugprone-fold-init-type,\
-bugprone-infinite-loop,\
-bugprone-integer-division,\
-bugprone-macro-parentheses,\
-bugprone-misplaced-widening-cast,\
-bugprone-multiple-statement-macro,\
-bugprone-narrowing-conversions,\
-bugprone-not-null-terminated-result,\
-bugprone-parent-virtual-call,\
-bugprone-reserved-identifier,\
-bugprone-signed-char-misuse,\
-bugprone-sizeof-expression,\
-bugprone-suspicious-include,\
-bugprone-suspicious-missing-comma,\
-bugprone-suspicious-semicolon,\
-bugprone-suspicious-string-compare,\
-bugprone-throw-keyword-missing,\
-bugprone-unhandled-self-assignment,\
-bugprone-unused-return-value,\
"
...
Subproject commit 495516b6b3ed1e0f45f4f847079e977cde2bd3ab
Subproject commit f6dacfca9eef52d213048ea84b6d103066c1b42e
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment