]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
Add .clangd configuration file that disables the unused include check
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 23 Apr 2025 13:26:39 +0000 (15:26 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 23 Apr 2025 13:27:49 +0000 (15:27 +0200)
The clangd include checker is rather broken and is littered with false
positives in our codebase, so let's disable the feature until it improves
a bit.

.clangd [new file with mode: 0644]

diff --git a/.clangd b/.clangd
new file mode 100644 (file)
index 0000000..8cc437a
--- /dev/null
+++ b/.clangd
@@ -0,0 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+
+Diagnostics:
+  UnusedIncludes: None