From c08e1bafb31ccadf4fc29252306afcc5ed8196b9 Mon Sep 17 00:00:00 2001 From: Haiyue Wang Date: Mon, 28 Oct 2024 11:59:00 +0800 Subject: [PATCH] .gitignore: Add the .cache directory generated by clangd Use VSCode + clangd plugin to develop the code, the clangd will save the metadata into .cache directory, it is about the compile_commands.json: cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=True Add the .cache into .gitignore for friendly clangd development environment. Signed-off-by: Haiyue Wang --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index e0aead2a9f8e1..9fdaa442e295f 100644 --- a/.gitignore +++ b/.gitignore @@ -36,6 +36,7 @@ *.SystemMap *~ .depend +/.cache /.config /.config.* /.config-*