clang-tidy: fix readability-suspicious-call-argument

Also:
- curlx/strerr: avoid a false positive by dropping an interim variable.
- enable this check.

Ref: #20627 (initial attempt)

Closes #20777
This commit is contained in:
Viktor Szakats 2026-02-18 14:24:00 +01:00
parent fcde8d7e37
commit a5c6a4067a
No known key found for this signature in database
4 changed files with 14 additions and 15 deletions

View file

@ -39,6 +39,7 @@ Checks:
- readability-redundant-function-ptr-dereference
- readability-redundant-parentheses
- readability-redundant-preprocessor
- readability-suspicious-call-argument
- readability-uppercase-literal-suffix
CheckOptions: