X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=.gitignore;h=103dad2c75f1633f7cada05dd0c31ef5afebd877;hp=818bb0cd3d48d1a7377ad8362c91ba20f12a415a;hb=HEAD;hpb=9f25e470f90be7ad05b2685a624d372be6998df2 diff --git a/.gitignore b/.gitignore index 818bb0cd3d..103dad2c75 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