[clang-tools-extra] [clangd][docs] Fix incorrect docstring for header-insertion "Never" (PR #135921)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 15 23:39:12 PDT 2025
https://github.com/MythreyaK created https://github.com/llvm/llvm-project/pull/135921
Docstring fix for changes introduced in PR #128503
>From 31b695950ffe45f613d28a1b0856ccec2bac873c Mon Sep 17 00:00:00 2001
From: Mythreya <git at mythreya.dev>
Date: Tue, 15 Apr 2025 23:37:33 -0700
Subject: [PATCH] [clangd][docs] Fix incorrect docstring for header-insertion
"Never"
Docstring fix for changes introduced in PR #128503.
---
clang-tools-extra/clangd/ConfigFragment.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/clang-tools-extra/clangd/ConfigFragment.h b/clang-tools-extra/clangd/ConfigFragment.h
index f05ed4d1acdfc..2363b483ab96d 100644
--- a/clang-tools-extra/clangd/ConfigFragment.h
+++ b/clang-tools-extra/clangd/ConfigFragment.h
@@ -347,7 +347,7 @@ struct Fragment {
/// "IWYU": Include what you use. Insert the owning header for top-level
/// symbols, unless the header is already directly included or the
/// symbol is forward-declared
- /// "NeverInsert": Never insert headers
+ /// "Never": Never insert headers
std::optional<Located<std::string>> HeaderInsertion;
};
CompletionBlock Completion;
More information about the cfe-commits
mailing list