================ @@ -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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits