mirror of
https://github.com/uxlfoundation/oneDNN.git
synced 2025-10-20 10:03:50 +08:00
70 lines
2.4 KiB
YAML
70 lines
2.4 KiB
YAML
HeaderFilterRegex: '/(examples|include|src|tests)/.*\.hpp'
|
|
|
|
FormatStyle: file
|
|
|
|
Checks: >
|
|
-*,
|
|
readability-identifier-naming,
|
|
readability-const-return-type,
|
|
readability-redundant-smartptr-get,
|
|
readability-misleading-indentation,
|
|
readability-redundant-control-flow,
|
|
readability-redundant-member-init,
|
|
readability-redundant-string-cstr,
|
|
readability-redundant-string-init,
|
|
readability-simplify-subscript-expr,
|
|
readability-static-accessed-through-instance,
|
|
readability-static-definition-in-anonymous-namespace,
|
|
readability-uniqueptr-delete-release,
|
|
readability-container-size-empty,
|
|
readability-delete-null-pointer,
|
|
readability-make-member-function-const,
|
|
readability-redundant-access-specifiers,
|
|
performance-for-range-copy,
|
|
performance-implicit-conversion-in-loop,
|
|
performance-inefficient-algorithm,
|
|
performance-inefficient-string-concatenation,
|
|
performance-inefficient-vector-operation,
|
|
performance-move-const-arg,
|
|
performance-unnecessary-copy-initialization,
|
|
performance-unnecessary-value-param,
|
|
performance-no-automatic-move,
|
|
performance-trivially-destructible,
|
|
modernize-make-shared,
|
|
modernize-use-bool-literals,
|
|
modernize-use-emplace,
|
|
modernize-use-equals-default,
|
|
modernize-use-override,
|
|
modernize-use-nullptr,
|
|
modernize-use-using,
|
|
bugprone-assert-side-effect,
|
|
bugprone-copy-constructor-init,
|
|
bugprone-forward-declaration-namespace,
|
|
bugprone-move-forwarding-reference,
|
|
bugprone-parent-virtual-call,
|
|
bugprone-too-small-loop-variable,
|
|
bugprone-undefined-memory-manipulation,
|
|
bugprone-unhandled-self-assignment,
|
|
bugprone-multiple-statement-macro,
|
|
bugprone-macro-parentheses,
|
|
bugprone-undefined-memory-manipulation,
|
|
bugprone-unhandled-self-assignment,
|
|
google-default-arguments,
|
|
misc-misplaced-const,
|
|
misc-definitions-in-headers,
|
|
misc-redundant-expression,
|
|
misc-uniqueptr-reset-release,
|
|
misc-unused-alias-decls,
|
|
misc-unused-using-decls,
|
|
cppcoreguidelines-prefer-member-initializer,
|
|
|
|
CheckOptions:
|
|
- key: readability-identifier-naming.ClassCase
|
|
value: lower_case
|
|
- key: readability-identifier-naming.StructCase
|
|
value: lower_case
|
|
- key: readability-identifier-naming.ClassSuffix
|
|
value: _t
|
|
- key: readability-identifier-naming.StructSuffix
|
|
value: _t
|