1
0
mirror of https://github.com/systemd/systemd synced 2025-10-06 00:13:24 +02:00
Files
systemd/.clang-tidy
Daan De Meyer 9b5895be12 ci: Add basic clang-tidy check to linter workflow
Let's add a basic clang-tidy check to the linter workflow. This
gives us the following:
- A check so that we don't introduce any new cyclic header dependencies
- A check to make sure all of our header files are standalone, as clang-tidy
  will fail to parse header files that don't include all their dependencies.
2025-04-23 16:13:58 +02:00

13 lines
189 B
YAML

# SPDX-License-Identifier: LGPL-2.1-or-later
---
Checks: '
-*,
misc-header-include-cycle
'
WarningsAsErrors: '*'
HeaderFileExtensions:
- h
ImplementationFileExtensions:
- c
...