mirror of
https://github.com/systemd/systemd
synced 2025-10-06 00:13:24 +02:00
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.
13 lines
189 B
YAML
13 lines
189 B
YAML
# SPDX-License-Identifier: LGPL-2.1-or-later
|
|
---
|
|
Checks: '
|
|
-*,
|
|
misc-header-include-cycle
|
|
'
|
|
WarningsAsErrors: '*'
|
|
HeaderFileExtensions:
|
|
- h
|
|
ImplementationFileExtensions:
|
|
- c
|
|
...
|