Skip to content

Fix Windows header inclusions for clang-tidy#13491

Merged
Mic92 merged 1 commit intoNixOS:masterfrom
Mic92:clang-tidy-windows-fixes
Jul 17, 2025
Merged

Fix Windows header inclusions for clang-tidy#13491
Mic92 merged 1 commit intoNixOS:masterfrom
Mic92:clang-tidy-windows-fixes

Conversation

@Mic92
Copy link
Member

@Mic92 Mic92 commented Jul 17, 2025

Summary

Move windows-error.hh includes inside _WIN32 guards to prevent clang-tidy errors when analyzing these files on non-Windows platforms.

This ensures Windows-specific headers are only included when building for Windows.

Move windows-error.hh includes inside _WIN32 guards to prevent
clang-tidy errors when analyzing these files on non-Windows platforms.
@Mic92 Mic92 requested a review from edolstra as a code owner July 17, 2025 13:41
@Mic92 Mic92 merged commit 32a11a6 into NixOS:master Jul 17, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants