curl/src
Viktor Szakats ccb65643b6
cmake: omit clang-tidy on internal libs curlu and curltool
Skip clang-tidy while compiling curlu and curltool internal libraries.
To save about 1 minute per run. These libraries compile the lib and src
sources a second time, with the `UNITTESTS` macro enabled, which makes
tiny difference, for internal use. I figure it's not worth the extra CI
(and local) time because finding extra issues in these passes is
unlikely, and if found, not critical.

autotools also doesn't check curlu and curltool with clang-tidy.

Ref: https://github.com/curl/curl/pull/17680#issuecomment-2991730158
Ref: https://stackoverflow.com/questions/61867616/ignore-certain-files-when-using-clang-tidy
Ref: https://cmake.org/cmake/help/latest/prop_tgt/LANG_CLANG_TIDY.html

Follow-up to fabfa8e402 #15825

Closes #17693
2025-06-21 10:43:32 +02:00
..
.checksrc src: replace strto[u][ld] with curlx_str_ parsers 2025-03-10 08:09:41 +01:00
.gitignore rtmp: remove no longer used proto member 2025-05-08 10:24:19 +02:00
CMakeLists.txt cmake: omit clang-tidy on internal libs curlu and curltool 2025-06-21 10:43:32 +02:00
config2setopts.c tls: remove Curl_ssl false_start 2025-06-12 08:29:15 +02:00
config2setopts.h tool_operate: move config2setopts to separate file, split into subs 2025-05-15 14:32:45 +02:00
curl.rc windows: drop code and curl manifest targeting W2K and older 2025-02-24 21:00:31 +01:00
curlinfo.c lib: provide a getaddrinfo wrapper 2025-04-28 23:48:02 +02:00
Makefile.am autotools: drop $top_builddir/src from src header path 2025-06-20 10:15:59 +02:00
Makefile.inc lib: make CURLX_SET_BINMODE() and use it 2025-06-19 15:57:37 +02:00
mk-file-embed.pl checksrc: avoid extra runs in CI, enable more check locally, fix fallouts 2025-05-19 18:59:50 +02:00
mkhelp.pl src: include memdebug.h consistently with angle brackets <> 2025-05-08 10:21:02 +02:00
slist_wc.c src: include memdebug.h consistently with angle brackets <> 2025-05-08 10:21:02 +02:00
slist_wc.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
terminal.c curlx: move into to curlx/ 2025-05-07 11:01:15 +02:00
terminal.h curl: make warnings and other messages aware of terminal width 2024-05-28 23:12:32 +02:00
tool_bname.c src: include memdebug.h consistently with angle brackets <> 2025-05-08 10:21:02 +02:00
tool_bname.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
tool_cb_dbg.c curlx: move into to curlx/ 2025-05-07 11:01:15 +02:00
tool_cb_dbg.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
tool_cb_hdr.c spelling: call it null-terminate consistently 2025-05-30 17:29:45 +02:00
tool_cb_hdr.h tool: support --show-headers AND --remote-header-name 2024-10-02 08:04:33 +02:00
tool_cb_prg.c system.h: remove some macros 2025-06-05 10:56:31 +02:00
tool_cb_prg.h curltime: use libcurl time functions in src and tests/server 2025-03-12 11:33:26 +01:00
tool_cb_rea.c lib: make curlx_wait_ms() and use it 2025-06-19 15:57:37 +02:00
tool_cb_rea.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
tool_cb_see.c system.h: remove some macros 2025-06-05 10:56:31 +02:00
tool_cb_see.h tool: move tool_ftruncate64 to tool_util.c 2024-04-25 09:20:38 +02:00
tool_cb_soc.c curl: (on linux) add MPTCP support 2024-06-07 10:54:19 +02:00
tool_cb_soc.h curl: (on linux) add MPTCP support 2024-06-07 10:54:19 +02:00
tool_cb_wrt.c curlx: move into to curlx/ 2025-05-07 11:01:15 +02:00
tool_cb_wrt.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
tool_cfgable.c src: rename curlx_safefree to tool_safefree 2025-05-08 08:16:44 +02:00
tool_cfgable.h tls: remove Curl_ssl false_start 2025-06-12 08:29:15 +02:00
tool_dirhie.c curlx: move into to curlx/ 2025-05-07 11:01:15 +02:00
tool_dirhie.h tool: use errorf() for error output 2023-06-01 08:19:11 +02:00
tool_doswin.c src: rename curlx_safefree to tool_safefree 2025-05-08 08:16:44 +02:00
tool_doswin.h build: add Windows CE / CeGCC support, with CI jobs 2025-02-21 13:56:34 +01:00
tool_easysrc.c curlx: move into to curlx/ 2025-05-07 11:01:15 +02:00
tool_easysrc.h build: enable missing OpenSSF-recommended warnings, with fixes 2023-12-16 13:12:37 +00:00
tool_filetime.c system.h: remove some macros 2025-06-05 10:56:31 +02:00
tool_filetime.h src: remove final uses of Curl_ symbol prefixes in tool code 2025-03-12 14:37:08 +01:00
tool_findfile.c src: include memdebug.h consistently with angle brackets <> 2025-05-08 10:21:02 +02:00
tool_findfile.h windows: use built-in _WIN32 macro to detect Windows 2023-11-22 15:42:25 +00:00
tool_formparse.c lib: make CURLX_SET_BINMODE() and use it 2025-06-19 15:57:37 +02:00
tool_formparse.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
tool_getparam.c lib: make CURLX_SET_BINMODE() and use it 2025-06-19 15:57:37 +02:00
tool_getparam.h tool_getparam: refactored, simplified 2025-05-28 14:25:32 +02:00
tool_getpass.c src: include memdebug.h consistently with angle brackets <> 2025-05-08 10:21:02 +02:00
tool_getpass.h code: language cleanup in comments 2024-07-01 22:58:55 +02:00
tool_help.c curl: fix memory leak when -h is used in config file 2025-05-10 11:16:07 +02:00
tool_help.h curl: fix memory leak when -h is used in config file 2025-05-10 11:16:07 +02:00
tool_helpers.c tool_getparam: refactored, simplified 2025-05-28 14:25:32 +02:00
tool_helpers.h src: tidy up types, add necessary casts 2024-05-17 12:32:04 +02:00
tool_hugehelp.h build: drop tool_hugehelp.c.cvs, tidy up macros, drop buildconf.bat 2025-01-26 14:22:49 +01:00
tool_ipfs.c src: rename curlx_safefree to tool_safefree 2025-05-08 08:16:44 +02:00
tool_ipfs.h ipfs: add options to disable 2024-09-21 12:08:32 +02:00
tool_libinfo.c curlx: move into to curlx/ 2025-05-07 11:01:15 +02:00
tool_libinfo.h tool_getparam: fail --hostpubsha256 if libssh2 is not used 2025-01-28 10:30:40 +01:00
tool_listhelp.c tidy-up: update deprecated status of some symbols/options 2025-06-15 01:38:26 +02:00
tool_main.c src: rename curlx_safefree to tool_safefree 2025-05-08 08:16:44 +02:00
tool_main.h tests/server: make the signal handler signal-safe 2025-03-28 12:02:38 +01:00
tool_msgs.c curlx: move into to curlx/ 2025-05-07 11:01:15 +02:00
tool_msgs.h build: enable missing OpenSSF-recommended warnings, with fixes 2023-12-16 13:12:37 +00:00
tool_operate.c lib: make CURLX_SET_BINMODE() and use it 2025-06-19 15:57:37 +02:00
tool_operate.h curltime: use libcurl time functions in src and tests/server 2025-03-12 11:33:26 +01:00
tool_operhlp.c src: rename curlx_safefree to tool_safefree 2025-05-08 08:16:44 +02:00
tool_operhlp.h tool_cb_wrt: use "curl_response" if no file name in URL 2024-09-17 13:39:51 +02:00
tool_paramhlp.c curl: change the struct getout flags field into bitfields 2025-05-24 13:41:32 +02:00
tool_paramhlp.h curl: add byte range support to --variable reading from file 2024-12-21 11:46:27 +01:00
tool_parsecfg.c spelling: call it null-terminate consistently 2025-05-30 17:29:45 +02:00
tool_parsecfg.h curlx: move into to curlx/ 2025-05-07 11:01:15 +02:00
tool_progress.c system.h: remove some macros 2025-06-05 10:56:31 +02:00
tool_progress.h curltime: use libcurl time functions in src and tests/server 2025-03-12 11:33:26 +01:00
tool_sdecls.h curl: change the struct getout flags field into bitfields 2025-05-24 13:41:32 +02:00
tool_setopt.c curlx: move into to curlx/ 2025-05-07 11:01:15 +02:00
tool_setopt.h tool_operate: move config2setopts to separate file, split into subs 2025-05-15 14:32:45 +02:00
tool_setup.h tests: always make bundles, adapt build and tests 2025-06-14 21:08:23 +02:00
tool_ssls.c curlx: move into to curlx/ 2025-05-07 11:01:15 +02:00
tool_ssls.h vtls: feature ssls-export for SSL session im-/export 2025-01-08 23:32:07 +01:00
tool_stderr.c src: include memdebug.h consistently with angle brackets <> 2025-05-08 10:21:02 +02:00
tool_stderr.h src: avoid strdup on platforms not doing UTF8 conversions 2025-03-05 09:19:09 +01:00
tool_strdup.c copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
tool_strdup.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
tool_urlglob.c src: rename curlx_safefree to tool_safefree 2025-05-08 08:16:44 +02:00
tool_urlglob.h src: replace strto[u][ld] with curlx_str_ parsers 2025-03-10 08:09:41 +01:00
tool_util.c curlx: move into to curlx/ 2025-05-07 11:01:15 +02:00
tool_util.h curltime: use libcurl time functions in src and tests/server 2025-03-12 11:33:26 +01:00
tool_version.h config: rename the OS define to CURL_OS to reduce collision risk 2024-10-30 14:59:54 +01:00
tool_vms.c curlx: move into to curlx/ 2025-05-07 11:01:15 +02:00
tool_vms.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
tool_writeout.c curlx: move into to curlx/ 2025-05-07 11:01:15 +02:00
tool_writeout.h curl: add write-out variable 'tls_earlydata' 2025-02-22 10:02:39 +01:00
tool_writeout_json.c curlx: move into to curlx/ 2025-05-07 11:01:15 +02:00
tool_writeout_json.h curlx: move into to curlx/ 2025-05-07 11:01:15 +02:00
tool_xattr.c tests: always make bundles, adapt build and tests 2025-06-14 21:08:23 +02:00
tool_xattr.h tests: always make bundles, adapt build and tests 2025-06-14 21:08:23 +02:00
var.c curlx: move into to curlx/ 2025-05-07 11:01:15 +02:00
var.h curlx: move into to curlx/ 2025-05-07 11:01:15 +02:00