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),


        
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to