← Commit list

977ac0c06c

Viktor Szakats
Viktor Szakats
2026-02-20
SUCCESS Duration: 369s

Subject

clang-tidy: check `misc-header-include-cycle`, fix in internal headers

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

.clang-tidy.yml+4 -0
@@ -12,8 +12,12 @@ Checks:
- -clang-diagnostic-nullability-extension
- bugprone-suspicious-realloc-usage
- misc-const-correctness
+ - misc-header-include-cycle
- portability-*
- readability-named-parameter
- readability-redundant-control-flow
- readability-redundant-preprocessor
- readability-uppercase-literal-suffix
+
+CheckOptions:
+ misc-header-include-cycle.IgnoredFilesList: 'curl/curl.h;openssl/ssl.h'
lib/functypes.h+0 -2
@@ -23,8 +23,6 @@
* SPDX-License-Identifier: curl
*
***************************************************************************/
-#include "curl_setup.h"
-
/* defaults:
ssize_t recv(int, void *, size_t, int);
src/tool_operate.h+1 -1
@@ -27,7 +27,7 @@
#include "tool_cb_hdr.h"
#include "tool_cb_prg.h"
-#include "tool_sdecls.h"
+#include "tool_cfgable.h"
struct per_transfer {
/* double linked */
src/tool_sdecls.h+0 -6
@@ -128,10 +128,4 @@ typedef enum {
SANITIZE_ERR_LAST /* never use! */
} SANITIZEcode;
-/*
- * Complete struct declarations which have OperationConfig struct members,
- * just in case this header is directly included in some source file.
- */
-#include "tool_cfgable.h"
-
#endif /* HEADER_CURL_TOOL_SDECLS_H */