[clang-tools-extra] [clangd] Add inlay hints for default function arguments (PR #95712)

Nathan Ridge via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 8 23:56:40 PDT 2024


================
@@ -372,6 +381,25 @@ maybeDropCxxExplicitObjectParameters(ArrayRef<const ParmVarDecl *> Params) {
   return Params;
 }
 
+template <typename R, typename P>
+std::string joinAndTruncate(R &&Range, size_t MaxLength,
----------------
HighCommander4 wrote:

Now that the function has only one call site, can we drop the `GetAsStringFunction` parameter and just assume the elements are themselves strings?

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


More information about the cfe-commits mailing list