Skip to content

Commit

Permalink
.gitignore: Add the .cache directory generated by clangd
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
haiyuewa authored and xiaoxiang781216 committed Oct 28, 2024
1 parent 2c2a794 commit c08e1ba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
*.SystemMap
*~
.depend
/.cache
/.config
/.config.*
/.config-*
Expand Down

0 comments on commit c08e1ba

Please sign in to comment.