Skip to content

Commit

Permalink
Add doc link to missing include diagnostics.
Browse files Browse the repository at this point in the history
Differential Revision: https://reviews.llvm.org/D150668
  • Loading branch information
VitaNuo committed May 16, 2023
1 parent 25729c8 commit 5cb2770
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clang-tools-extra/clangd/Diagnostics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -918,7 +918,7 @@ std::optional<std::string> getDiagnosticDocURI(Diag::DiagSource Source,
.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:
Expand Down

0 comments on commit 5cb2770

Please sign in to comment.