[clang-tools-extra] [clang-doc] Add protected methods to class template (PR #174884)

Erick Velez via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 8 16:57:49 PST 2026


================
@@ -628,7 +628,7 @@ static void serializeInfo(const RecordInfo &I, json::Object &Obj,
     if (!PubFunctionsArrayRef.empty())
       insertArray(Obj, PubFunctionsArray, "PublicFunctions");
     if (!ProtFunctionsArrayRef.empty())
-      Obj["ProtectedFunctions"] = ProtFunctionsArray;
+      insertArray(Obj, ProtFunctionsArray, "ProtectedFunctions");
----------------
evelez7 wrote:

I already have a chore patch ready with it unfortunately. I can separate it out since it has a few more things that needed to be addressed like typos.

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


More information about the cfe-commits mailing list