[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 09:06:41 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:

Yeah these names need to be cleaned up across the templates as well, but I've put it off to not make these patches unnecessarily large and to get the functionality out there first. I'm planning to followup on these soon.

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


More information about the cfe-commits mailing list