mirror of
https://github.com/curl/curl.git
synced 2026-04-11 12:01:42 +08:00
Discovered with clang-tidy checker `readability-inconsistent-declaration-parameter-name`. Also: - do not enforce the above because of inconsistencies still present between public API prototypes and definitions. (Also betwen man page protos, and man page examples, and other parts of the code, e.g. `easy` vs `curl` vs `d` vs `handle`) Perhaps subject for a future effort: https://github.com/curl/curl/actions/runs/22166472728/job/64094691653 - enable and fix `readability-named-parameter` where missing. Refs: https://clang.llvm.org/extra/clang-tidy/checks/readability/inconsistent-declaration-parameter-name.html https://clang.llvm.org/extra/clang-tidy/checks/readability/named-parameter.html Closes #20624
19 lines
685 B
YAML
19 lines
685 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
|