[all-commits] [llvm/llvm-project] da883d: [clangd] Expose Code Completion score to the client

Kirill Bobyrev via All-commits all-commits at lists.llvm.org
Thu Feb 13 06:16:22 PST 2020


  Branch: refs/heads/release/10.x
  Home:   https://github.com/llvm/llvm-project
  Commit: da883d2c3b2fcf4977f2bbac11012da804655919
      https://github.com/llvm/llvm-project/commit/da883d2c3b2fcf4977f2bbac11012da804655919
  Author: Kirill Bobyrev <kbobyrev at google.com>
  Date:   2020-02-13 (Thu, 13 Feb 2020)

  Changed paths:
    M clang-tools-extra/clangd/CodeComplete.cpp
    M clang-tools-extra/clangd/Protocol.cpp
    M clang-tools-extra/clangd/Protocol.h
    M clang-tools-extra/clangd/test/completion-auto-trigger.test
    M clang-tools-extra/clangd/test/completion-snippets.test
    M clang-tools-extra/clangd/test/completion.test
    M clang-tools-extra/clangd/test/protocol.test
    M clang-tools-extra/clangd/unittests/CodeCompleteTests.cpp

  Log Message:
  -----------
  [clangd] Expose Code Completion score to the client

Summary:
Make it possible for the client to adjust the ranking by using the score Clangd
calculates for the completion items.

Reviewers: sammccall

Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet, usaxena95, cfe-commits

Tags: #clang

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

(cherry picked from commit ff7b5bac04fa4946935ea45214e29f267d6c1d7b)




More information about the All-commits mailing list