curl/lib/curlx
Viktor Szakats 139307865a
clang-tidy: check bugprone-macro-parentheses, fix fallouts
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
2026-02-22 00:58:04 +01:00
..
base64.c curlx: rename Curl_-prefixed symbols to curlx_ 2025-12-22 01:47:22 +01:00
base64.h curlx: rename Curl_-prefixed symbols to curlx_ 2025-12-22 01:47:22 +01:00
basename.c curlx: dedupe basename copies into curlx_basename() 2026-01-25 12:21:54 +01:00
basename.h curlx: dedupe basename copies into curlx_basename() 2026-01-25 12:21:54 +01:00
curlx.h build: tidy up and simplify setmode() detection and use 2026-02-08 15:47:47 +01:00
dynbuf.c curlx: drop unused curlx_saferealloc() 2026-02-03 15:13:37 +01:00
dynbuf.h build: drop duplicate include curl/curl.h and others 2025-12-19 10:58:11 +01:00
fopen.c build: move curl stat struct type to the curlx namespace 2026-02-04 02:07:16 +01:00
fopen.h tidy-up: miscellaneous 2026-02-12 14:52:16 +01:00
inet_ntop.c badwords: catch and fix more variants of NN-bit 2026-01-14 02:35:00 +01:00
inet_ntop.h tidy-up: miscellaneous 2026-02-12 14:52:16 +01:00
inet_pton.c inet_pton: scope an include 2026-02-21 15:06:58 +01:00
inet_pton.h tidy-up: miscellaneous 2025-12-26 22:06:09 +01:00
multibyte.c tidy-up: miscellaneous 2025-12-26 22:06:09 +01:00
multibyte.h tidy-up: avoid (()), clang-format fixes and more 2025-12-05 16:07:03 +01:00
nonblock.c tidy-up: miscellaneous 2025-12-26 22:06:09 +01:00
nonblock.h build: drop duplicate include curl/curl.h and others 2025-12-19 10:58:11 +01:00
snprintf.h curlx: replace sprintf with snprintf 2025-11-25 11:11:06 +01:00
strcopy.c strcopy: minor comment edit to avoid matching a grep for strcpy use 2025-12-27 23:25:13 +01:00
strcopy.h curlx: curlx_strcopy() instead of strcpy() 2025-12-22 23:01:05 +01:00
strdup.c build: require POSIX strdup() 2026-02-03 17:50:18 +01:00
strdup.h clang-tidy: sync argument names in prototype and definition 2026-02-19 12:44:37 +01:00
strerr.c build: use more const 2026-02-02 12:32:49 +01:00
strerr.h curlx: move Curl_strerror, use in src and tests, ban strerror globally 2025-10-06 09:44:23 +02:00
strparse.c clang-tidy: check bugprone-macro-parentheses, fix fallouts 2026-02-22 00:58:04 +01:00
strparse.h clang-tidy: sync argument names in prototype and definition 2026-02-19 12:44:37 +01:00
timediff.c tidy-up: miscellaneous 2025-12-26 22:06:09 +01:00
timediff.h tidy-up: miscellaneous 2025-12-26 22:06:09 +01:00
timeval.c tidy-up: miscellaneous 2026-02-12 14:52:16 +01:00
timeval.h tidy-up: miscellaneous 2025-12-26 22:06:09 +01:00
version_win32.c tidy-up: miscellaneous 2025-12-26 22:06:09 +01:00
version_win32.h tidy-up: miscellaneous 2025-12-26 22:06:09 +01:00
wait.c tidy-up: miscellaneous 2025-12-26 22:06:09 +01:00
wait.h tidy-up: miscellaneous 2025-12-26 22:06:09 +01:00
warnless.c tidy-up: miscellaneous 2026-02-12 14:52:16 +01:00
warnless.h clang-tidy: sync argument names in prototype and definition 2026-02-19 12:44:37 +01:00
winapi.c build: fully omit verbose strings and code when disabled 2026-01-21 13:18:35 +01:00
winapi.h windows: use native error code types more 2025-10-06 12:12:44 +02:00