forked from bartvdbraak/blender
88de58fd1a
Remove redundant call to `ofstream::close()` from `~PSStrokeRenderer` and `~TextStrokeRenderer`. ofstream will be destructed automatically. - For `~Depsgraph`, `std::function`'s constructor can throw. - Passing throwing statements in the lambda will not be detected by clang-tidy. Fix these issues by using lambda as function argument. Reviewed By: sergey, sybren Differential Revision: https://developer.blender.org/D9497
51 lines
1.4 KiB
YAML
51 lines
1.4 KiB
YAML
# The warnings below are disabled because they are too pedantic and not worth fixing.
|
|
# Some of them will be enabled as part of the Clang-Tidy task, see T78535.
|
|
|
|
Checks: >
|
|
-*,
|
|
readability-*,
|
|
-readability-uppercase-literal-suffix,
|
|
-readability-magic-numbers,
|
|
-readability-isolate-declaration,
|
|
-readability-convert-member-functions-to-static,
|
|
-readability-implicit-bool-conversion,
|
|
-readability-avoid-const-params-in-decls,
|
|
-readability-simplify-boolean-expr,
|
|
-readability-make-member-function-const,
|
|
|
|
-readability-misleading-indentation,
|
|
|
|
-readability-use-anyofallof,
|
|
|
|
-readability-function-cognitive-complexity,
|
|
|
|
bugprone-*,
|
|
-bugprone-narrowing-conversions,
|
|
-bugprone-unhandled-self-assignment,
|
|
-bugprone-branch-clone,
|
|
-bugprone-macro-parentheses,
|
|
-bugprone-reserved-identifier,
|
|
|
|
-bugprone-sizeof-expression,
|
|
-bugprone-integer-division,
|
|
|
|
-bugprone-redundant-branch-condition,
|
|
|
|
modernize-*,
|
|
-modernize-use-auto,
|
|
-modernize-use-trailing-return-type,
|
|
-modernize-deprecated-headers,
|
|
-modernize-avoid-c-arrays,
|
|
-modernize-use-equals-default,
|
|
-modernize-use-nodiscard,
|
|
-modernize-use-using,
|
|
-modernize-loop-convert,
|
|
-modernize-pass-by-value,
|
|
-modernize-use-default-member-init,
|
|
-modernize-raw-string-literal,
|
|
-modernize-avoid-bind,
|
|
-modernize-use-override,
|
|
-modernize-use-transparent-functors,
|
|
|
|
WarningsAsErrors: '*'
|