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

Erick Velez via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Jan 2 00:18:07 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
----------------
evelez7 wrote:

Sorry about that, fixed.

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


More information about the llvm-branch-commits mailing list