aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorUtkarsh Saxena <usx@google.com>2021-02-01 16:49:38 +0100
committerUtkarsh Saxena <usx@google.com>2021-03-02 10:05:37 +0100
commit438b5bb05a429d697674088d400e4800c1108658 (patch)
tree9df323c7eae182389a9ad8009dbb73be5af9ea68 /clang/lib/Frontend/CompilerInvocation.cpp
parent14be3f0e8848ee5a2dc215404c0391de4dc9e252 (diff)
downloadllvm-438b5bb05a429d697674088d400e4800c1108658.zip
llvm-438b5bb05a429d697674088d400e4800c1108658.tar.gz
llvm-438b5bb05a429d697674088d400e4800c1108658.tar.bz2
[clangd] Use ML Code completion ranking as default.
This makes code completion use a Decision Forest based ranking algorithm to rank completion candidates. [Esitmated 6% accuracy boost]. This was previously hidden behind the flag --ranking-model=decision_forest. This patch makes it the default ranking algorithm. Note: this is a generic model, not specialized for any particular project. clangd does not collect or upload data to train code completion. Also treat Keywords separately as they are not recorded by the training set generator. Differential Revision: https://reviews.llvm.org/D96353
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions