Revert "[clangd] Use ML Code completion ranking as default."
authorUtkarsh Saxena <usx@google.com>
Tue, 2 Mar 2021 13:57:26 +0000 (14:57 +0100)
committerUtkarsh Saxena <usx@google.com>
Tue, 2 Mar 2021 14:04:23 +0000 (15:04 +0100)
commit7f086d74c347750c1da619058eb5b3e79c2fae14
tree4c8b350cd96f854c7ccb260c98b3e4415c46e036
parente83380fccc2cc9842bdcfd268efddf6fce90544d
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.
clang-tools-extra/clangd/CodeComplete.h
clang-tools-extra/clangd/Quality.cpp
clang-tools-extra/clangd/unittests/CodeCompleteTests.cpp