[all-commits] [llvm/llvm-project] bd6c69: clangd: Set a diagnostic on a code action resultin...

kadir çetinkaya via All-commits all-commits at lists.llvm.org
Thu Feb 10 06:58:47 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bd6c6974f5ea1626a6bb1b6adea59616d70ff3a8
      https://github.com/llvm/llvm-project/commit/bd6c6974f5ea1626a6bb1b6adea59616d70ff3a8
  Author: Christian Kandeler <christian.kandeler at qt.io>
  Date:   2022-02-10 (Thu, 10 Feb 2022)

  Changed paths:
    M clang-tools-extra/clangd/ClangdLSPServer.cpp

  Log Message:
  -----------
  clangd: Set a diagnostic on a code action resulting from a tweak

... if there is a match.
This is needed to that clients can can make a connection between a
diagnostic and an associated quickfix-tweak.
Ideally, quickfix-kind tweak code actions would be provided inline along
with the non-tweak fixes, but this doesn't seem easily achievable.

Reviewed By: sammccall

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




More information about the All-commits mailing list