[llvm-branch-commits] [clang-tools-extra] [clang-doc] Add nested records to class template (PR #173959)

Petr Hosek via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Jan 1 15:15:13 PST 2026


================
@@ -330,8 +330,14 @@ static void serializeReference(const Reference &Ref, Object &ReferenceObj) {
   ReferenceObj["Name"] = Ref.Name;
   ReferenceObj["QualName"] = Ref.QualName;
   ReferenceObj["USR"] = toHex(toStringRef(Ref.USR));
-  if (!Ref.DocumentationFileName.empty())
+  if (!Ref.DocumentationFileName.empty()) {
     ReferenceObj["DocumentationFileName"] = Ref.DocumentationFileName;
+
+    // If the reference is a nested class, the
----------------
petrhosek wrote:

This comment is unfinished.

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


More information about the llvm-branch-commits mailing list