[PATCH] D150668: Add doc link to missing include diagnostics.
Viktoriia Bakalova via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue May 16 07:15:36 PDT 2023
VitaNuo created this revision.
Herald added subscribers: kadircet, arphaman.
Herald added a project: All.
VitaNuo requested review of this revision.
Herald added a project: clang-tools-extra.
Herald added a subscriber: cfe-commits.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D150668
Files:
clang-tools-extra/clangd/Diagnostics.cpp
Index: clang-tools-extra/clangd/Diagnostics.cpp
===================================================================
--- clang-tools-extra/clangd/Diagnostics.cpp
+++ clang-tools-extra/clangd/Diagnostics.cpp
@@ -918,7 +918,7 @@
.str();
}
case Diag::Clangd:
- if (Name == "unused-includes")
+ if (Name == "unused-includes" || Name == "missing-includes")
return {"https://clangd.llvm.org/guides/include-cleaner"};
break;
case Diag::ClangdConfig:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D150668.522606.patch
Type: text/x-patch
Size: 478 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230516/dbc3c850/attachment.bin>
More information about the cfe-commits
mailing list