[clang-tools-extra] r365151 - [clangd] Mark a couple of unimportant flags as hidden. NFC
Sam McCall via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 4 11:49:08 PDT 2019
Author: sammccall
Date: Thu Jul 4 11:49:08 2019
New Revision: 365151
URL: http://llvm.org/viewvc/llvm-project?rev=365151&view=rev
Log:
[clangd] Mark a couple of unimportant flags as hidden. NFC
Modified:
clang-tools-extra/trunk/clangd/tool/ClangdMain.cpp
Modified: clang-tools-extra/trunk/clangd/tool/ClangdMain.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clangd/tool/ClangdMain.cpp?rev=365151&r1=365150&r2=365151&view=diff
==============================================================================
--- clang-tools-extra/trunk/clangd/tool/ClangdMain.cpp (original)
+++ clang-tools-extra/trunk/clangd/tool/ClangdMain.cpp Thu Jul 4 11:49:08 2019
@@ -76,7 +76,7 @@ static llvm::cl::opt<JSONStreamStyle> In
clEnumValN(JSONStreamStyle::Standard, "standard", "usual LSP protocol"),
clEnumValN(JSONStreamStyle::Delimited, "delimited",
"messages delimited by --- lines, with # comment support")),
- llvm::cl::init(JSONStreamStyle::Standard));
+ llvm::cl::init(JSONStreamStyle::Standard), llvm::cl::Hidden);
static llvm::cl::opt<bool>
PrettyPrint("pretty", llvm::cl::desc("Pretty-print JSON output"),
@@ -215,7 +215,8 @@ static llvm::cl::opt<bool> EnableFunctio
llvm::cl::desc("When disabled, completions contain only parentheses for "
"function calls. When enabled, completions also contain "
"placeholders for method parameters"),
- llvm::cl::init(CodeCompleteOptions().EnableFunctionArgSnippets));
+ llvm::cl::init(CodeCompleteOptions().EnableFunctionArgSnippets),
+ llvm::cl::Hidden);
static llvm::cl::opt<std::string> ClangTidyChecks(
"clang-tidy-checks",
More information about the cfe-commits
mailing list