================
@@ -34,9 +34,12 @@ static void serializeInfo(const RecordInfo &I, Object &Obj,
static void serializeReference(const Reference &Ref, Object &ReferenceObj);
template <typename Container, typename SerializationFunc>
-static void serializeArray(const Container &Records, Object &Obj,
- const std::string &Key,
- SerializationFunc SerializeInfo);
+static void serializeArray(
+ const Container &Records, Object &Obj, const StringRef Key,
+ SerializationFunc SerializeInfo, const StringRef EndKey = "End",
+ function_ref<void(Object &)> UpdateJson = [](Object &Obj) {});
+
+constexpr static unsigned getMaxParamWrapLimit() { return 2; }
----------------
SamrudhNelli wrote:
I think rust-doc follows the length approach rather than the no. of parameter
approach.
Smaller func() :
<img width="1363" height="90" alt="image"
src="https://github.com/user-attachments/assets/bbec3746-59da-4d3d-b6be-eac0fa79c61d"
/>
Longer func() :
<img width="915" height="262" alt="image"
src="https://github.com/user-attachments/assets/b390259b-5e3b-428e-afb0-b4409f152b0d"
/>
https://github.com/llvm/llvm-project/pull/181417
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits