From: Matthias Maier Date: Wed, 23 Nov 2022 21:01:55 +0000 (-0600) Subject: gitignore: ignore clangd files and directories X-Git-Tag: v9.5.0-rc1~820^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F14462%2Fhead;p=dealii.git gitignore: ignore clangd files and directories In order to use clangd it is currently necessary to add some configuration into a .clangd file. Unfortunately, this is very situation specific and cannot meaningfully be upstreamed. (For example, I need to manually specify "-std=c++17" to work around the issue that gcc defaults to c++17 and clang defaults to c++14.) While at it also ignore the .cache directory where clangd stores its index. --- diff --git a/.gitignore b/.gitignore index d3c5630028..a769646b98 100644 --- a/.gitignore +++ b/.gitignore @@ -12,6 +12,10 @@ qtcreator/ # qt creator CMakeLists.txt.user +# clangd +/.cache +/.clangd + # misc /compile_commands.json /.clang_complete