[clang-tools-extra] cdfce10 - [clangd] Fix a typo in -ranking-model documentation. NFC
Ilya Biryukov via cfe-commits
cfe-commits at lists.llvm.org
Wed Dec 7 04:53:57 PST 2022
Author: Ilya Biryukov
Date: 2022-12-07T13:53:14+01:00
New Revision: cdfce10b28b158d2dcfeed289213eda1ad64f236
URL: https://github.com/llvm/llvm-project/commit/cdfce10b28b158d2dcfeed289213eda1ad64f236
DIFF: https://github.com/llvm/llvm-project/commit/cdfce10b28b158d2dcfeed289213eda1ad64f236.diff
LOG: [clangd] Fix a typo in -ranking-model documentation. NFC
Added:
Modified:
clang-tools-extra/clangd/tool/ClangdMain.cpp
Removed:
################################################################################
diff --git a/clang-tools-extra/clangd/tool/ClangdMain.cpp b/clang-tools-extra/clangd/tool/ClangdMain.cpp
index 3f5f53f0d156..3975ae967f90 100644
--- a/clang-tools-extra/clangd/tool/ClangdMain.cpp
+++ b/clang-tools-extra/clangd/tool/ClangdMain.cpp
@@ -210,7 +210,7 @@ opt<CodeCompleteOptions::CodeCompletionRankingModel> RankingModel{
cat(Features),
desc("Model to use to rank code-completion items"),
values(clEnumValN(CodeCompleteOptions::Heuristics, "heuristics",
- "Use hueristics to rank code completion items"),
+ "Use heuristics to rank code completion items"),
clEnumValN(CodeCompleteOptions::DecisionForest, "decision_forest",
"Use Decision Forest model to rank completion items")),
init(CodeCompleteOptions().RankingModel),
More information about the cfe-commits
mailing list