[clang-tools-extra] b06372a - [clangd] NFC, correct template argument type for two RetiredFlags.
Haojian Wu via cfe-commits
cfe-commits at lists.llvm.org
Mon Sep 5 06:21:52 PDT 2022
Author: Haojian Wu
Date: 2022-09-05T15:20:31+02:00
New Revision: b06372ae58f0c8ae61f0ba5cf6ad2e4a7615a2a4
URL: https://github.com/llvm/llvm-project/commit/b06372ae58f0c8ae61f0ba5cf6ad2e4a7615a2a4
DIFF: https://github.com/llvm/llvm-project/commit/b06372ae58f0c8ae61f0ba5cf6ad2e4a7615a2a4.diff
LOG: [clangd] NFC, correct template argument type for two RetiredFlags.
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 11c5acb71d978..4280e810a412d 100644
--- a/clang-tools-extra/clangd/tool/ClangdMain.cpp
+++ b/clang-tools-extra/clangd/tool/ClangdMain.cpp
@@ -307,8 +307,8 @@ RetiredFlag<bool> AsyncPreamble("async-preamble");
RetiredFlag<bool> CollectMainFileRefs("collect-main-file-refs");
RetiredFlag<bool> CrossFileRename("cross-file-rename");
RetiredFlag<std::string> ClangTidyChecks("clang-tidy-checks");
-RetiredFlag<std::string> InlayHints("inlay-hints");
-RetiredFlag<std::string> FoldingRanges("folding-ranges");
+RetiredFlag<bool> InlayHints("inlay-hints");
+RetiredFlag<bool> FoldingRanges("folding-ranges");
opt<int> LimitResults{
More information about the cfe-commits
mailing list