Skip to content

Commit 17e41fd

Browse files
committed
clang-tidy: disable bugprone-casting-through-void lint
This lint triggers for a void cast used to silence a cast-align warning for write_after_free_check. We aren't violating strict aliasing because the memory was always zeroed with memset prior to reading it as u64 and we don't write to another way.
1 parent 85f868b commit 17e41fd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.clang-tidy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Checks: 'bugprone-*,-bugprone-easily-swappable-parameters,-bugprone-macro-parentheses,-bugprone-too-small-loop-variable,cert-*,-cert-err33-c,clang-analyzer-*,-clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling,-clang-diagnostic-constant-logical-operand,readability-*,-readability-function-cognitive-complexity,-readability-identifier-length,-readability-implicit-bool-conversion,-readability-inconsistent-declaration-parameter-name,-readability-magic-numbers,-readability-math-missing-parentheses,-readability-named-parameter,llvm-include-order,misc-*'
1+
Checks: 'bugprone-*,-bugprone-casting-through-void,-bugprone-easily-swappable-parameters,-bugprone-macro-parentheses,-bugprone-too-small-loop-variable,cert-*,-cert-err33-c,clang-analyzer-*,-clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling,-clang-diagnostic-constant-logical-operand,readability-*,-readability-function-cognitive-complexity,-readability-identifier-length,-readability-implicit-bool-conversion,-readability-inconsistent-declaration-parameter-name,-readability-magic-numbers,-readability-math-missing-parentheses,-readability-named-parameter,llvm-include-order,misc-*'
22
WarningsAsErrors: '*'
33
ExcludeHeaderFilterRegex: '.*third_party/.*'
44

0 commit comments

Comments
 (0)