mirror of
https://github.com/curl/curl.git
synced 2026-04-14 22:31:41 +03:00
clang-tidy: enable more checks, fix fallouts
- enable three checks: - bugprone-invalid-enum-default-initialization - bugprone-sizeof-expression - readability-inconsistent-declaration-parameter-name (strict) - fix remaining discrepancies with arg names in prototypes and implementation, in strict mode. - document reason for some checks tested but not enabled. Closes #20794
This commit is contained in:
parent
e0dd6eb4a4
commit
df6014894b
34 changed files with 222 additions and 209 deletions
|
|
@ -47,7 +47,7 @@ HANDLE curlx_CreateFile(const char *filename,
|
|||
#define curlx_fstat _fstati64
|
||||
#define curlx_struct_stat struct _stati64
|
||||
FILE *curlx_win32_fopen(const char *filename, const char *mode);
|
||||
FILE *curlx_win32_freopen(const char *filename, const char *mode, FILE *fh);
|
||||
FILE *curlx_win32_freopen(const char *filename, const char *mode, FILE *fp);
|
||||
int curlx_win32_stat(const char *path, curlx_struct_stat *buffer);
|
||||
int curlx_win32_open(const char *filename, int oflag, ...);
|
||||
int curlx_win32_rename(const char *oldpath, const char *newpath);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue