CI: do not break files generated by ProtocolBuffers when executing clang-tidy. Added bugprone-redundant-branch-condition and misc-redundant-expression checks

This commit is contained in:
Carles Fernandez 2023-04-08 19:10:10 +02:00
parent 306c566d48
commit 64b285751b
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D
1 changed files with 3 additions and 1 deletions

View File

@ -23,6 +23,7 @@ Checks: '-*,
bugprone-move-forwarding-reference,
bugprone-multiple-statement-macro,
bugprone-parent-virtual-call,
bugprone-redundant-branch-condition,
bugprone-reserved-identifier,
bugprone-sizeof-container,
bugprone-sizeof-expression,
@ -70,6 +71,7 @@ Checks: '-*,
misc-misplaced-const,
misc-new-delete-overloads,
misc-non-copyable-objects,
misc-redundant-expression,
misc-static-assert,
misc-throw-by-value-catch-by-reference,
misc-uniqueptr-reset-release,
@ -356,7 +358,7 @@ std::vector::at;
- key: google-runtime-int.TypeSuffix
value: _t
- key: bugprone-reserved-identifier.AllowedIdentifiers
value: ''
value: '_pb;_pbi'
- key: modernize-use-emplace.IgnoreImplicitConstructors
value: 'false'
- key: modernize-use-equals-delete.IgnoreMacros