[all-commits] [llvm/llvm-project] b5f7e9: [clangd] Add a trained DecisionForest for code com...

UTKARSH SAXENA via All-commits all-commits at lists.llvm.org
Mon Sep 28 09:35:47 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: b5f7e9e26cd06d034bf68f63de6ae6d37b032b5e
      https://github.com/llvm/llvm-project/commit/b5f7e9e26cd06d034bf68f63de6ae6d37b032b5e
  Author: Utkarsh Saxena <usx at google.com>
  Date:   2020-09-28 (Mon, 28 Sep 2020)

  Changed paths:
    M clang-tools-extra/clangd/quality/model/features.json
    M clang-tools-extra/clangd/quality/model/forest.json

  Log Message:
  -----------
  [clangd] Add a trained DecisionForest for code completion.

Replaces the dummy CodeCompletion model with a trained DecisionForest
model.
The features.json needs to be manually curated specifying the features
to be used. This is a one-time cost and does not change if the model
changes until we decide to add/remove features.

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




More information about the All-commits mailing list