Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gitignore: ignore clangd files and directories #14462

Merged
merged 1 commit into from Nov 23, 2022

Conversation

tamiko
Copy link
Member

@tamiko tamiko commented Nov 23, 2022

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.

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.
@bangerth bangerth merged commit 8c44f0f into dealii:master Nov 23, 2022
tjhei added a commit that referenced this pull request Nov 25, 2022
@tamiko tamiko deleted the ignore_clangd_files branch November 30, 2022 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants