diff options
author | Utkarsh Saxena <usx@google.com> | 2021-01-12 17:14:08 +0100 |
---|---|---|
committer | Utkarsh Saxena <usx@google.com> | 2021-01-13 17:54:38 +0100 |
commit | a4f386688239b06e09f28fd31f93bf761aa9c76f (patch) | |
tree | 754a061dc0694f4093f4b15f15d3f17d4b0655b8 | |
parent | 17863614da1efbe61e91c9f6f08ad80cdd257bb4 (diff) | |
download | llvm-a4f386688239b06e09f28fd31f93bf761aa9c76f.tar.gz |
[clangd] Remove "decision-forest-base" experimental flag.
The value of this flag can only be fine tuned by using A/B testing on large
user base.
We do not expect individual users to use and fine tune this flag.
Differential Revision: https://reviews.llvm.org/D94513
-rw-r--r-- | clang-tools-extra/clangd/tool/ClangdMain.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/clang-tools-extra/clangd/tool/ClangdMain.cpp b/clang-tools-extra/clangd/tool/ClangdMain.cpp index d2c52cf61c53..9c75cafdb08e 100644 --- a/clang-tools-extra/clangd/tool/ClangdMain.cpp +++ b/clang-tools-extra/clangd/tool/ClangdMain.cpp @@ -194,14 +194,6 @@ opt<CodeCompleteOptions::CodeCompletionRankingModel> RankingModel{ Hidden, }; -opt<float> DecisionForestBase{ - "decision-forest-base", - cat(Features), - desc("Base for exponentiating the prediction from DecisionForest."), - init(CodeCompleteOptions().DecisionForestBase), - Hidden, -}; - // FIXME: also support "plain" style where signatures are always omitted. enum CompletionStyleFlag { Detailed, Bundled }; opt<CompletionStyleFlag> CompletionStyle{ @@ -841,7 +833,6 @@ clangd accepts flags on the commandline, and in the CLANGD_FLAGS environment var Opts.CodeComplete.AllScopes = AllScopesCompletion; Opts.CodeComplete.RunParser = CodeCompletionParse; Opts.CodeComplete.RankingModel = RankingModel; - Opts.CodeComplete.DecisionForestBase = DecisionForestBase; RealThreadsafeFS TFS; std::vector<std::unique_ptr<config::Provider>> ProviderStack; |