[all-commits] [llvm/llvm-project] 02cf36: [clang-doc] Add specialization info to record refe...

Erick Velez via All-commits all-commits at lists.llvm.org
Fri May 29 14:46:51 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 02cf363d17487378d0a2a89e1e95738d0945ab4c
      https://github.com/llvm/llvm-project/commit/02cf363d17487378d0a2a89e1e95738d0945ab4c
  Author: Erick Velez <erickvelez7 at gmail.com>
  Date:   2026-05-29 (Fri, 29 May 2026)

  Changed paths:
    M clang-tools-extra/clang-doc/JSONGenerator.cpp
    M clang-tools-extra/clang-doc/assets/namespace-template.mustache
    M clang-tools-extra/test/clang-doc/json/class-specialization.cpp

  Log Message:
  -----------
  [clang-doc] Add specialization info to record references (#191252)

Class specializations listed in a namespace's page had the problem of
being indistinguishable from each other since they couldn't display
their template arguments. They would just be displayed as a series of
the base
template's name. Now, we can display those arguments in HTML
for a better experience.

In JSONGenerator, we query the set of Infos to find the Reference's
corresponding RecordInfo. That requires keeping a pointer to the map in
JSONGenerator.

Fixes #181771



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list