mirror of
https://github.com/curl/curl.git
synced 2026-04-14 18:31:42 +03:00
Also: - lib/parsedate: avoid relying on side-effect of missing parentheses. - lib/http: drop redundant parentheses. - fix cases in headers missed by clang-tidy. Ref: https://clang.llvm.org/extra/clang-tidy/checks/bugprone/macro-parentheses.html Closes #20647
26 lines
965 B
YAML
26 lines
965 B
YAML
# Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
|
#
|
|
# SPDX-License-Identifier: curl
|
|
---
|
|
# https://clang.llvm.org/extra/clang-tidy/
|
|
|
|
# https://clang.llvm.org/extra/clang-tidy/checks/list.html
|
|
Checks:
|
|
- -clang-analyzer-optin.performance.Padding
|
|
- -clang-analyzer-security.ArrayBound # due to false positives with clang-tidy v21.1.0
|
|
- -clang-analyzer-security.insecureAPI.bzero # for FD_ZERO() (seen on macOS)
|
|
- -clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling
|
|
- -clang-diagnostic-nullability-extension
|
|
- bugprone-macro-parentheses
|
|
- bugprone-redundant-branch-condition
|
|
- bugprone-suspicious-realloc-usage
|
|
- misc-const-correctness
|
|
- misc-header-include-cycle
|
|
- portability-*
|
|
- readability-named-parameter
|
|
- readability-redundant-control-flow
|
|
- readability-redundant-preprocessor
|
|
- readability-uppercase-literal-suffix
|
|
|
|
CheckOptions:
|
|
misc-header-include-cycle.IgnoredFilesList: 'curl/curl.h;openssl/ssl.h'
|