[all-commits] [llvm/llvm-project] edc7a0: [clangd] Provide links to clang-tidy and include-c...

Sam McCall via All-commits all-commits at lists.llvm.org
Fri May 20 07:34:07 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: edc7a0814575002abecb8ac7b49c669bf5f5ab7a
      https://github.com/llvm/llvm-project/commit/edc7a0814575002abecb8ac7b49c669bf5f5ab7a
  Author: Sam McCall <sam.mccall at gmail.com>
  Date:   2022-05-20 (Fri, 20 May 2022)

  Changed paths:
    M clang-tools-extra/clangd/Diagnostics.cpp
    M clang-tools-extra/clangd/Diagnostics.h
    M clang-tools-extra/clangd/Protocol.cpp
    M clang-tools-extra/clangd/Protocol.h
    M clang-tools-extra/clangd/test/diagnostics-tidy.test
    M clang-tools-extra/clangd/unittests/DiagnosticsTests.cpp

  Log Message:
  -----------
  [clangd] Provide links to clang-tidy and include-cleaner diagnostic docs

LSP supports Diagnostic.codeInformation since 3.16.
In VSCode, this turns the code (e.g. "unused-includes" or "bugprone-foo") into
a clickable link that opens the docs in a web browser.

Differential Revision: https://reviews.llvm.org/D126065




More information about the All-commits mailing list