This revision was automatically updated to reflect the committed changes. Closed by commit rGa4f386688239: [clangd] Remove "decision-forest-base" experimental flag. (authored by usaxena95).
Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D94513/new/ https://reviews.llvm.org/D94513 Files: clang-tools-extra/clangd/tool/ClangdMain.cpp Index: clang-tools-extra/clangd/tool/ClangdMain.cpp =================================================================== --- clang-tools-extra/clangd/tool/ClangdMain.cpp +++ clang-tools-extra/clangd/tool/ClangdMain.cpp @@ -194,14 +194,6 @@ 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 @@ 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;
Index: clang-tools-extra/clangd/tool/ClangdMain.cpp =================================================================== --- clang-tools-extra/clangd/tool/ClangdMain.cpp +++ clang-tools-extra/clangd/tool/ClangdMain.cpp @@ -194,14 +194,6 @@ 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 @@ 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;
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits