Skip to content

clang-tidy cleanups#14890

Merged
tomberek merged 2 commits intoNixOS:masterfrom
Mic92:clang-tidy
Dec 29, 2025
Merged

clang-tidy cleanups#14890
tomberek merged 2 commits intoNixOS:masterfrom
Mic92:clang-tidy

Conversation

@Mic92
Copy link
Member

@Mic92 Mic92 commented Dec 29, 2025

I stumbled over this while bumping nix-eval-jobs...

When using designated initializers, clang-tidy warns about skipped
fields. Explicitly initialize pos to {} to silence the
clang-diagnostic-missing-designated-field-initializers warning.
Remove include of signals.hh from signals-impl.hh to fix
misc-header-include-cycle warning. The impl header is only included
from signals.hh which already provides the necessary declarations.
@Mic92 Mic92 requested a review from edolstra as a code owner December 29, 2025 15:27
@tomberek tomberek added this pull request to the merge queue Dec 29, 2025
Merged via the queue into NixOS:master with commit 56ab28c Dec 29, 2025
15 checks passed
@Mic92 Mic92 deleted the clang-tidy branch December 30, 2025 05:01
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