diff options
| author | Semih Yavuz <semih.yavuz@qt.io> | 2024-05-06 11:23:07 +0200 |
|---|---|---|
| committer | Semih Yavuz <semih.yavuz@qt.io> | 2024-05-16 17:25:19 +0200 |
| commit | a7ca91788dd70642e9f192b4fcdc3e9705e9cc6b (patch) | |
| tree | 49a2b78d5d220cb984842cc683e68e475326bf2c /.gitignore | |
| parent | a97af71f00b11806efb06ff795244488ce74eda2 (diff) | |
gitignore: Add compile_commands.json and .ccache
compile_commands.json is metadata export from cmake which is used
by the static analysis tools. One way to feed information to these
tools is to have a symbolic link in the source directory to the
compile_commands.json file in the build directory.
.cache is the folder that contains the index file generated by clangd.
git should ignore both.
Change-Id: I63ab801ef2d52093be7527ff70ee88a40399fbb5
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Reviewed-by: Sami Shalayel <sami.shalayel@qt.io>
Diffstat (limited to '.gitignore')
| -rw-r--r-- | .gitignore | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore index def0f040cd..e3756b608c 100644 --- a/.gitignore +++ b/.gitignore @@ -372,3 +372,7 @@ CMakeLists.txt.user # QML Language Server ini-files .qmlls.ini + +# Clangd related +.cache/* +compile_commands.json |
