[clang-tools-extra] [clang-doc] Display enum type along with enum name in HTML view (PR #181347)
Erick Velez via cfe-commits
cfe-commits at lists.llvm.org
Fri Feb 13 10:39:29 PST 2026
================
@@ -7,7 +7,7 @@
}}
<div id="{{USR}}" class="delimiter-container">
<div>
- <pre><code class="language-cpp code-clang-doc">enum {{Name}}</code></pre>
+ <pre><code class="language-cpp code-clang-doc">enum {{Name}}{{#BaseType}} : {{Type.Name}}{{/BaseType}}</code></pre>
----------------
evelez7 wrote:
Do you need a nested object here? If you call `{{Name}}` inside the `{{#BaseType}}` tag it should select the `BaseType`'s name.
https://github.com/llvm/llvm-project/pull/181347
More information about the cfe-commits
mailing list