diff --git a/.gitignore b/.gitignore
index 791cadea13425fc298ad10caf7775f8c212c756f..ebfb33e73570de09b6571248b85d83ff46533f48 100644
--- a/.gitignore
+++ b/.gitignore
@@ -48,3 +48,9 @@ Version.h
 
 # XML files for DDUpgrade that are downloaded with cmake
 /examples/DDUpgrade/data
+
+# clangd files
+.cache
+
+# CMake commands database
+compile_commands.json