2020-09-11 01:16:40 +00:00
|
|
|
FormatStyle: file
|
|
|
|
|
|
|
|
Checks: '
|
2021-08-06 18:30:28 +00:00
|
|
|
*bugprone*,
|
2021-07-13 13:54:32 +00:00
|
|
|
cppcoreguidelines-init-variables,
|
2021-07-09 13:45:53 +00:00
|
|
|
clang-analyzer-optin.cplusplus.VirtualCall,
|
2020-09-11 01:16:40 +00:00
|
|
|
llvm-namespace-comment,
|
2021-06-21 14:37:48 +00:00
|
|
|
misc-misplaced-const,
|
2021-07-27 22:32:26 +00:00
|
|
|
misc-non-copyable-objects,
|
2021-06-21 14:37:48 +00:00
|
|
|
misc-static-assert,
|
2021-07-13 13:54:32 +00:00
|
|
|
misc-throw-by-value-catch-by-reference,
|
2021-06-21 14:37:48 +00:00
|
|
|
misc-uniqueptr-reset-release,
|
2021-07-27 22:32:26 +00:00
|
|
|
misc-unused-parameters,
|
2021-06-19 22:38:56 +00:00
|
|
|
modernize-avoid-bind,
|
2021-07-27 22:32:26 +00:00
|
|
|
modernize-make-shared,
|
2021-07-09 13:45:53 +00:00
|
|
|
modernize-redundant-void-arg,
|
2021-06-19 22:38:56 +00:00
|
|
|
modernize-replace-auto-ptr,
|
|
|
|
modernize-replace-disallow-copy-and-assign-macro,
|
2021-07-27 22:32:26 +00:00
|
|
|
modernize-replace-random-shuffle,
|
2021-06-19 22:38:56 +00:00
|
|
|
modernize-shrink-to-fit,
|
2020-09-11 03:20:47 +00:00
|
|
|
modernize-use-auto,
|
2021-06-21 14:37:48 +00:00
|
|
|
modernize-use-bool-literals,
|
2021-06-19 22:38:56 +00:00
|
|
|
modernize-use-equals-default,
|
|
|
|
modernize-use-equals-delete,
|
2021-06-21 14:37:48 +00:00
|
|
|
modernize-use-default-member-init,
|
|
|
|
modernize-use-noexcept,
|
2020-09-11 03:26:50 +00:00
|
|
|
modernize-use-emplace,
|
2021-06-19 22:38:56 +00:00
|
|
|
modernize-use-override,
|
|
|
|
modernize-use-using,
|
2021-06-22 16:11:54 +00:00
|
|
|
*performance*,
|
2021-07-27 22:32:26 +00:00
|
|
|
readability-avoid-const-params-in-decls,
|
2021-06-19 22:38:56 +00:00
|
|
|
readability-container-size-empty,
|
2021-07-09 13:45:53 +00:00
|
|
|
readability-else-after-return,
|
2021-07-27 22:32:26 +00:00
|
|
|
readability-delete-null-pointer,
|
|
|
|
readability-implicit-bool-conversion,
|
2021-06-21 14:37:48 +00:00
|
|
|
readability-make-member-function-const,
|
2021-07-27 22:32:26 +00:00
|
|
|
readability-misplaced-array-index,
|
|
|
|
readability-non-const-parameter,
|
2021-06-21 14:37:48 +00:00
|
|
|
readability-redundant-function-ptr-dereference,
|
|
|
|
readability-redundant-smartptr-get,
|
|
|
|
readability-redundant-string-cstr,
|
|
|
|
readability-simplify-subscript-expr,
|
2021-07-27 22:32:26 +00:00
|
|
|
readability-static-accessed-through-instance,
|
|
|
|
readability-static-definition-in-anonymous-namespace,
|
2021-06-21 14:37:48 +00:00
|
|
|
readability-string-compare,
|
|
|
|
readability-uniqueptr-delete-release,
|
2021-08-06 18:30:28 +00:00
|
|
|
-bugprone-exception-escape,
|
|
|
|
-bugprone-reserved-identifier,
|
|
|
|
-bugprone-unused-raii,
|
2020-09-11 01:16:40 +00:00
|
|
|
'
|
|
|
|
|
2021-06-19 17:53:27 +00:00
|
|
|
CheckOptions:
|
2021-07-13 13:54:32 +00:00
|
|
|
- key: performance-for-range-copy.WarnOnAllAutoCopies
|
|
|
|
value: true
|
2021-06-19 17:53:27 +00:00
|
|
|
- key: performance-unnecessary-value-param.AllowedTypes
|
|
|
|
value: 'exception_ptr$;'
|
2021-07-27 22:32:26 +00:00
|
|
|
- key: readability-implicit-bool-conversion.AllowPointerConditions
|
|
|
|
value: true
|
2021-06-19 17:53:27 +00:00
|
|
|
|
2020-09-11 01:16:40 +00:00
|
|
|
HeaderFilterRegex: 'pybind11/.*h'
|
2021-06-19 22:38:56 +00:00
|
|
|
|
|
|
|
WarningsAsErrors: '*'
|