diff --git a/.gitignore b/.gitignore index 818bb0cd3..103dad2c7 100644 --- a/.gitignore +++ b/.gitignore @@ -103,3 +103,11 @@ GTAGS # checkpatch script files .checkpatch-camelcase.* + +# clangd (e.g. for advanced code completion and linting) generates cache files +# into .cache +.cache + +# A compile_commands.json can be generated using bear and will help tools such +# as clangd to locate header files and use correct $CFLAGS +compile_commands.json