[clang] [clang-tools-extra] [clangd] Add InsertReplaceEdit for code completion (PR #187623)

via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 19 19:49:32 PDT 2026


================
@@ -414,6 +422,8 @@ bool fromJSON(const llvm::json::Value &Params, ClientCapabilities &R,
               break;
           }
         }
+        if (auto IRSupport = Item->getBoolean("insertReplaceSupport"))
----------------
argothiel wrote:

Could be `const`, but `const` is too much underused in the entire function, so I went for consistency with other fields instead.

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


More information about the cfe-commits mailing list