Skip to content

Commit 2528224

Browse files
authored
[.gitignore] Ignore .clangd config file (llvm#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)
1 parent 60bf381 commit 2528224

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ pythonenv*
7373
# clangd index. (".clangd" is a config file now, thus trailing slash)
7474
.clangd/
7575
.cache
76+
.clangd
7677
# static analyzer regression testing project files
7778
/clang/utils/analyzer/projects/*/CachedSource
7879
/clang/utils/analyzer/projects/*/PatchedSource

0 commit comments

Comments
 (0)