mirror of
https://github.com/curl/curl.git
synced 2026-04-14 22:51:53 +03:00
Also fix fallouts. Ref: https://clang.llvm.org/extra/clang-tidy/checks/readability/redundant-control-flow.html Closes #20625
19 lines
723 B
YAML
19 lines
723 B
YAML
# Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
|
#
|
|
# SPDX-License-Identifier: curl
|
|
---
|
|
# https://clang.llvm.org/extra/clang-tidy/checks/list.html
|
|
|
|
# -clang-analyzer-security.insecureAPI.bzero: for FD_ZERO() (seen on macOS)
|
|
# -clang-analyzer-security.ArrayBound: due to false positives with clang-tidy v21.1.0
|
|
Checks: >-
|
|
-clang-analyzer-security.insecureAPI.bzero,
|
|
-clang-analyzer-optin.performance.Padding,
|
|
-clang-analyzer-security.ArrayBound,
|
|
-clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling,
|
|
-clang-diagnostic-nullability-extension,
|
|
bugprone-suspicious-realloc-usage,
|
|
misc-const-correctness,
|
|
portability-*,
|
|
readability-named-parameter,
|
|
readability-redundant-control-flow
|