[clang-tools-extra] [clangd] Fix header-name completion replace ranges (PR #225473)

via cfe-commits cfe-commits at lists.llvm.org
Sat Oct 3 07:24:34 PDT 2026


================
@@ -1834,9 +1834,12 @@ class CodeCompleteFlow {
     }
 
     if (Opts.EnableInsertReplace) {
-      ReplaceRange.emplace();
-      ReplaceRange->start = InsertRange.start;
-      ReplaceRange->end = getEndOfCodeCompletionReplace(SM);
----------------
argothiel wrote:

Done.

https://github.com/llvm/llvm-project/pull/225473


More information about the cfe-commits mailing list