[.gitignore] Ignore .clangd config file (#174287)
If anyone wants to use a custom `.clangd` config in the repo, they will
need to manually "git ignore it". Since clangd is a popular tool and
`.clangd` config is usually set up per-person, it's beneficial to add it
to gitignore.
As a matter of fact, I wanted to enable diagnostics from all clang-tidy
checks in IDE, with such config:
```
Diagnostics:
ClangTidy:
FastCheckFilter: None
```
(By default, clangd will skip some "expensive" checks like
const-correctness)
This commit is contained in:
parent
60bf38180b
commit
2528224ab9
1 changed files with 1 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -73,6 +73,7 @@ pythonenv*
|
|||
# clangd index. (".clangd" is a config file now, thus trailing slash)
|
||||
.clangd/
|
||||
.cache
|
||||
.clangd
|
||||
# static analyzer regression testing project files
|
||||
/clang/utils/analyzer/projects/*/CachedSource
|
||||
/clang/utils/analyzer/projects/*/PatchedSource
|
||||
|
|
|
|||
Loading…
Reference in a new issue