Author: Viktoriia Bakalova Date: 2023-05-16T16:10:58Z New Revision: 5cb2770bd714105f5d65234b949ded0430604209
URL: https://github.com/llvm/llvm-project/commit/5cb2770bd714105f5d65234b949ded0430604209 DIFF: https://github.com/llvm/llvm-project/commit/5cb2770bd714105f5d65234b949ded0430604209.diff LOG: Add doc link to missing include diagnostics. Differential Revision: https://reviews.llvm.org/D150668 Added: Modified: clang-tools-extra/clangd/Diagnostics.cpp Removed: ################################################################################ diff --git a/clang-tools-extra/clangd/Diagnostics.cpp b/clang-tools-extra/clangd/Diagnostics.cpp index d1726142c5de..b708f9c3d3b0 100644 --- a/clang-tools-extra/clangd/Diagnostics.cpp +++ b/clang-tools-extra/clangd/Diagnostics.cpp @@ -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: _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits