[all-commits] [llvm/llvm-project] 7f086d: Revert "[clangd] Use ML Code completion ranking as...

Utkarsh Saxena via All-commits all-commits at lists.llvm.org
Tue Mar 2 06:05:03 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7f086d74c347750c1da619058eb5b3e79c2fae14
      https://github.com/llvm/llvm-project/commit/7f086d74c347750c1da619058eb5b3e79c2fae14
  Author: Utkarsh Saxena <usx at google.com>
  Date:   2021-03-02 (Tue, 02 Mar 2021)

  Changed paths:
    M clang-tools-extra/clangd/CodeComplete.h
    M clang-tools-extra/clangd/Quality.cpp
    M clang-tools-extra/clangd/unittests/CodeCompleteTests.cpp

  Log Message:
  -----------
  Revert "[clangd] Use ML Code completion ranking as default."

CodeCompletionContext::Kind has 36 Kinds. The completion model currently
only handles categorical features of 32 cardinality.
Changing the datatype to uint64_t will solve the problem.

This reverts commit 438b5bb05a429d697674088d400e4800c1108658.




More information about the All-commits mailing list