From 7a7d3366840dd510d016dcb74f0bec830b964740 Mon Sep 17 00:00:00 2001 From: alandefreitas Date: Tue, 26 Nov 2024 16:09:03 -0300 Subject: [PATCH 1/4] refactor(HandlebarsGenerator): do not require symbol as hash parameter --- share/mrdocs/addons/generator/adoc/layouts/index.adoc.hbs | 2 +- share/mrdocs/addons/generator/common/partials/symbol.hbs | 2 +- share/mrdocs/addons/generator/html/layouts/index.html.hbs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/share/mrdocs/addons/generator/adoc/layouts/index.adoc.hbs b/share/mrdocs/addons/generator/adoc/layouts/index.adoc.hbs index 17c6ee8e26..950afd6e41 100644 --- a/share/mrdocs/addons/generator/adoc/layouts/index.adoc.hbs +++ b/share/mrdocs/addons/generator/adoc/layouts/index.adoc.hbs @@ -1,2 +1,2 @@ {{! The section with a symbol in single page output or the symbol page in multi page output }} -{{> symbol symbol=symbol}} +{{> symbol }} diff --git a/share/mrdocs/addons/generator/common/partials/symbol.hbs b/share/mrdocs/addons/generator/common/partials/symbol.hbs index 7075f01198..824e99b247 100644 --- a/share/mrdocs/addons/generator/common/partials/symbol.hbs +++ b/share/mrdocs/addons/generator/common/partials/symbol.hbs @@ -1 +1 @@ -{{> (concat 'symbols' '/' (lookup symbol 'kind')) symbol=symbol }} \ No newline at end of file +{{> (concat 'symbols' '/' (lookup symbol 'kind')) }} \ No newline at end of file diff --git a/share/mrdocs/addons/generator/html/layouts/index.html.hbs b/share/mrdocs/addons/generator/html/layouts/index.html.hbs index 17c6ee8e26..950afd6e41 100644 --- a/share/mrdocs/addons/generator/html/layouts/index.html.hbs +++ b/share/mrdocs/addons/generator/html/layouts/index.html.hbs @@ -1,2 +1,2 @@ {{! The section with a symbol in single page output or the symbol page in multi page output }} -{{> symbol symbol=symbol}} +{{> symbol }} From 737d24c019775a76189cef414cf4b93f6ebe6cce Mon Sep 17 00:00:00 2001 From: alandefreitas Date: Tue, 26 Nov 2024 16:09:24 -0300 Subject: [PATCH 2/4] refactor(HandlebarsGenerator): single page HTML includes reference title --- share/mrdocs/addons/generator/html/layouts/wrapper.html.hbs | 3 +++ test-files/golden-tests/alias-template.html | 1 + test-files/golden-tests/attributes_1.html | 1 + test-files/golden-tests/brief-1.html | 1 + test-files/golden-tests/brief-2.html | 1 + test-files/golden-tests/canonical_1.html | 1 + test-files/golden-tests/class-template-partial-spec.html | 1 + test-files/golden-tests/class-template-spec.html | 1 + test-files/golden-tests/class-template-specializations-1.html | 1 + test-files/golden-tests/class-template-specializations-2.html | 1 + test-files/golden-tests/class-template-specializations-3.html | 1 + test-files/golden-tests/class-template.html | 1 + test-files/golden-tests/commands.html | 1 + test-files/golden-tests/concept.html | 1 + test-files/golden-tests/dependency-propagation.html | 1 + test-files/golden-tests/duplicate-jdoc.html | 1 + test-files/golden-tests/empty.html | 1 + test-files/golden-tests/enum.html | 1 + test-files/golden-tests/explicit-conv-operator.html | 1 + test-files/golden-tests/explicit-ctor.html | 1 + test-files/golden-tests/explicit-deduct-guide.html | 1 + test-files/golden-tests/explicit-object-parameter.html | 1 + test-files/golden-tests/filters/blacklist_0.html | 1 + test-files/golden-tests/filters/blacklist_test.html | 1 + test-files/golden-tests/filters/filters.html | 1 + test-files/golden-tests/filters/whitelist_0.html | 1 + test-files/golden-tests/filters/whitelist_test.html | 1 + test-files/golden-tests/friend-1.html | 1 + test-files/golden-tests/friend-2.html | 1 + test-files/golden-tests/friend-3.html | 1 + test-files/golden-tests/friend-4.html | 1 + test-files/golden-tests/friend-5.html | 1 + test-files/golden-tests/friend-6.html | 1 + test-files/golden-tests/function-parm-decay.html | 1 + test-files/golden-tests/function-template.html | 1 + test-files/golden-tests/function-tparm-decay.html | 1 + test-files/golden-tests/implicit-instantiation-member-ref.html | 1 + test-files/golden-tests/local-class.html | 1 + test-files/golden-tests/mem-fn.html | 1 + test-files/golden-tests/namespace-alias-1.html | 1 + test-files/golden-tests/namespace-alias-2.html | 1 + test-files/golden-tests/namespace-alias-3.html | 1 + test-files/golden-tests/namespace.html | 1 + test-files/golden-tests/nested-private-template.html | 1 + test-files/golden-tests/no_unique_address.html | 1 + test-files/golden-tests/noreturn.html | 1 + test-files/golden-tests/ns-variables.html | 1 + test-files/golden-tests/out-of-line-record-def.html | 1 + test-files/golden-tests/overloaded-op-1.html | 1 + test-files/golden-tests/overloaded-op-2.html | 1 + test-files/golden-tests/para-1.html | 1 + test-files/golden-tests/para-2.html | 1 + test-files/golden-tests/param-direction.html | 1 + test-files/golden-tests/param.html | 1 + test-files/golden-tests/pre-post.html | 1 + test-files/golden-tests/record-1.html | 1 + test-files/golden-tests/record-access.html | 1 + test-files/golden-tests/record-data.html | 1 + test-files/golden-tests/record-inheritance.html | 1 + test-files/golden-tests/ref.html | 1 + test-files/golden-tests/requires-clause.html | 1 + test-files/golden-tests/spec-mem-implicit-instantiation.html | 1 + test-files/golden-tests/static-data-def-constexpr.html | 1 + test-files/golden-tests/static-data-def.html | 1 + test-files/golden-tests/static-data-template.html | 1 + test-files/golden-tests/temp/c_mct_expl_inline.html | 1 + test-files/golden-tests/temp/c_mct_expl_outside.html | 1 + test-files/golden-tests/temp/c_mft_expl_inline.html | 1 + test-files/golden-tests/temp/c_mft_expl_outside.html | 1 + test-files/golden-tests/temp/ct_expl.html | 1 + test-files/golden-tests/temp/ct_mc.html | 1 + test-files/golden-tests/temp/ct_mc_expl_outside.html | 1 + test-files/golden-tests/temp/ct_mct.html | 1 + test-files/golden-tests/temp/ct_mct_expl_inline.html | 1 + test-files/golden-tests/temp/ct_mct_expl_outside.html | 1 + test-files/golden-tests/temp/ct_mf.html | 1 + test-files/golden-tests/temp/ct_mf_expl_outside.html | 1 + test-files/golden-tests/temp/ct_mft.html | 1 + test-files/golden-tests/temp/ct_mft_expl_inline.html | 1 + test-files/golden-tests/temp/ct_mft_expl_outside.html | 1 + test-files/golden-tests/temp/ft_expl.html | 1 + test-files/golden-tests/type-resolution.html | 1 + test-files/golden-tests/union.html | 1 + test-files/golden-tests/using-1.html | 1 + test-files/golden-tests/using-2.html | 1 + test-files/golden-tests/using-3.html | 1 + test-files/golden-tests/utf-8.html | 1 + test-files/golden-tests/var-template.html | 1 + test-files/golden-tests/variadic-function.html | 1 + 89 files changed, 91 insertions(+) diff --git a/share/mrdocs/addons/generator/html/layouts/wrapper.html.hbs b/share/mrdocs/addons/generator/html/layouts/wrapper.html.hbs index 8905846ce8..aa7eaa9071 100644 --- a/share/mrdocs/addons/generator/html/layouts/wrapper.html.hbs +++ b/share/mrdocs/addons/generator/html/layouts/wrapper.html.hbs @@ -5,6 +5,9 @@
+ {{#unless @root.config.multipage }} +

Reference

+ {{/unless}} {{! Content generated with index.hbs }} {{{contents}}}
diff --git a/test-files/golden-tests/alias-template.html b/test-files/golden-tests/alias-template.html index f0db6071d6..c2416c5110 100644 --- a/test-files/golden-tests/alias-template.html +++ b/test-files/golden-tests/alias-template.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/attributes_1.html b/test-files/golden-tests/attributes_1.html index 4a48ec04ff..13479e4d78 100644 --- a/test-files/golden-tests/attributes_1.html +++ b/test-files/golden-tests/attributes_1.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/brief-1.html b/test-files/golden-tests/brief-1.html index 42d51623c5..cc5d81c13e 100644 --- a/test-files/golden-tests/brief-1.html +++ b/test-files/golden-tests/brief-1.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/brief-2.html b/test-files/golden-tests/brief-2.html index 3cd0fe8090..e242661bdc 100644 --- a/test-files/golden-tests/brief-2.html +++ b/test-files/golden-tests/brief-2.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/canonical_1.html b/test-files/golden-tests/canonical_1.html index b0f885aefd..86bd394a93 100644 --- a/test-files/golden-tests/canonical_1.html +++ b/test-files/golden-tests/canonical_1.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/class-template-partial-spec.html b/test-files/golden-tests/class-template-partial-spec.html index 22d6898bed..ff32ca1075 100644 --- a/test-files/golden-tests/class-template-partial-spec.html +++ b/test-files/golden-tests/class-template-partial-spec.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/class-template-spec.html b/test-files/golden-tests/class-template-spec.html index a7a9e39bbf..b8ffd6f674 100644 --- a/test-files/golden-tests/class-template-spec.html +++ b/test-files/golden-tests/class-template-spec.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/class-template-specializations-1.html b/test-files/golden-tests/class-template-specializations-1.html index 52fad5d88d..c6bc593c62 100644 --- a/test-files/golden-tests/class-template-specializations-1.html +++ b/test-files/golden-tests/class-template-specializations-1.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/class-template-specializations-2.html b/test-files/golden-tests/class-template-specializations-2.html index 8a2df23191..46f000cd72 100644 --- a/test-files/golden-tests/class-template-specializations-2.html +++ b/test-files/golden-tests/class-template-specializations-2.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/class-template-specializations-3.html b/test-files/golden-tests/class-template-specializations-3.html index 4f3808aa70..c3b8aa0a45 100644 --- a/test-files/golden-tests/class-template-specializations-3.html +++ b/test-files/golden-tests/class-template-specializations-3.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/class-template.html b/test-files/golden-tests/class-template.html index 798fb3f85e..81353b1952 100644 --- a/test-files/golden-tests/class-template.html +++ b/test-files/golden-tests/class-template.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/commands.html b/test-files/golden-tests/commands.html index 9ee4d72c00..0c7952be96 100644 --- a/test-files/golden-tests/commands.html +++ b/test-files/golden-tests/commands.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/concept.html b/test-files/golden-tests/concept.html index f4a6a1ed91..56d1dd282a 100644 --- a/test-files/golden-tests/concept.html +++ b/test-files/golden-tests/concept.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/dependency-propagation.html b/test-files/golden-tests/dependency-propagation.html index 5d3de56be9..848b741d10 100644 --- a/test-files/golden-tests/dependency-propagation.html +++ b/test-files/golden-tests/dependency-propagation.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/duplicate-jdoc.html b/test-files/golden-tests/duplicate-jdoc.html index 8f9f3023b6..1298391336 100644 --- a/test-files/golden-tests/duplicate-jdoc.html +++ b/test-files/golden-tests/duplicate-jdoc.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/empty.html b/test-files/golden-tests/empty.html index 3d21a50bd2..06834ab56d 100644 --- a/test-files/golden-tests/empty.html +++ b/test-files/golden-tests/empty.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/enum.html b/test-files/golden-tests/enum.html index 39ff516708..fa51ee9222 100644 --- a/test-files/golden-tests/enum.html +++ b/test-files/golden-tests/enum.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/explicit-conv-operator.html b/test-files/golden-tests/explicit-conv-operator.html index 23d0569d5e..964bcbeab2 100644 --- a/test-files/golden-tests/explicit-conv-operator.html +++ b/test-files/golden-tests/explicit-conv-operator.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/explicit-ctor.html b/test-files/golden-tests/explicit-ctor.html index 3cd6115762..a5b30694db 100644 --- a/test-files/golden-tests/explicit-ctor.html +++ b/test-files/golden-tests/explicit-ctor.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/explicit-deduct-guide.html b/test-files/golden-tests/explicit-deduct-guide.html index 4be33cc330..0ad5b8aaeb 100644 --- a/test-files/golden-tests/explicit-deduct-guide.html +++ b/test-files/golden-tests/explicit-deduct-guide.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/explicit-object-parameter.html b/test-files/golden-tests/explicit-object-parameter.html index 1c81299011..5d67f83927 100644 --- a/test-files/golden-tests/explicit-object-parameter.html +++ b/test-files/golden-tests/explicit-object-parameter.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/filters/blacklist_0.html b/test-files/golden-tests/filters/blacklist_0.html index 5b3acabde1..0d9c4c667e 100644 --- a/test-files/golden-tests/filters/blacklist_0.html +++ b/test-files/golden-tests/filters/blacklist_0.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/filters/blacklist_test.html b/test-files/golden-tests/filters/blacklist_test.html index 27b195c4e9..67b636e6a3 100644 --- a/test-files/golden-tests/filters/blacklist_test.html +++ b/test-files/golden-tests/filters/blacklist_test.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/filters/filters.html b/test-files/golden-tests/filters/filters.html index 4b13ec76b5..21fad49a14 100644 --- a/test-files/golden-tests/filters/filters.html +++ b/test-files/golden-tests/filters/filters.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/filters/whitelist_0.html b/test-files/golden-tests/filters/whitelist_0.html index 8e1cc2114c..976eb0b4c8 100644 --- a/test-files/golden-tests/filters/whitelist_0.html +++ b/test-files/golden-tests/filters/whitelist_0.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/filters/whitelist_test.html b/test-files/golden-tests/filters/whitelist_test.html index c4d24b7978..abf58987bc 100644 --- a/test-files/golden-tests/filters/whitelist_test.html +++ b/test-files/golden-tests/filters/whitelist_test.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/friend-1.html b/test-files/golden-tests/friend-1.html index 185f6db9ee..591c823db2 100644 --- a/test-files/golden-tests/friend-1.html +++ b/test-files/golden-tests/friend-1.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/friend-2.html b/test-files/golden-tests/friend-2.html index d924361582..0c53cfe3c3 100644 --- a/test-files/golden-tests/friend-2.html +++ b/test-files/golden-tests/friend-2.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/friend-3.html b/test-files/golden-tests/friend-3.html index 74ccc7e6e6..f7a4c36c3d 100644 --- a/test-files/golden-tests/friend-3.html +++ b/test-files/golden-tests/friend-3.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/friend-4.html b/test-files/golden-tests/friend-4.html index de562b67c4..4561ea4e39 100644 --- a/test-files/golden-tests/friend-4.html +++ b/test-files/golden-tests/friend-4.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/friend-5.html b/test-files/golden-tests/friend-5.html index 51313728bc..0e4035ecfc 100644 --- a/test-files/golden-tests/friend-5.html +++ b/test-files/golden-tests/friend-5.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/friend-6.html b/test-files/golden-tests/friend-6.html index 56457042b3..3d6fb82270 100644 --- a/test-files/golden-tests/friend-6.html +++ b/test-files/golden-tests/friend-6.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/function-parm-decay.html b/test-files/golden-tests/function-parm-decay.html index 17a69fa995..035bf659ac 100644 --- a/test-files/golden-tests/function-parm-decay.html +++ b/test-files/golden-tests/function-parm-decay.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/function-template.html b/test-files/golden-tests/function-template.html index cde72f0f56..62611bd4be 100644 --- a/test-files/golden-tests/function-template.html +++ b/test-files/golden-tests/function-template.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/function-tparm-decay.html b/test-files/golden-tests/function-tparm-decay.html index 8d2ff0557e..01b9ac506a 100644 --- a/test-files/golden-tests/function-tparm-decay.html +++ b/test-files/golden-tests/function-tparm-decay.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/implicit-instantiation-member-ref.html b/test-files/golden-tests/implicit-instantiation-member-ref.html index 9588a2a223..3b9d983525 100644 --- a/test-files/golden-tests/implicit-instantiation-member-ref.html +++ b/test-files/golden-tests/implicit-instantiation-member-ref.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/local-class.html b/test-files/golden-tests/local-class.html index 8daff1c9bc..2e61ee360e 100644 --- a/test-files/golden-tests/local-class.html +++ b/test-files/golden-tests/local-class.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/mem-fn.html b/test-files/golden-tests/mem-fn.html index 1ffbd0ddc4..acda594411 100644 --- a/test-files/golden-tests/mem-fn.html +++ b/test-files/golden-tests/mem-fn.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/namespace-alias-1.html b/test-files/golden-tests/namespace-alias-1.html index 23d0118d2b..922ea72f6b 100644 --- a/test-files/golden-tests/namespace-alias-1.html +++ b/test-files/golden-tests/namespace-alias-1.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/namespace-alias-2.html b/test-files/golden-tests/namespace-alias-2.html index 3fd979a145..d5cb69edea 100644 --- a/test-files/golden-tests/namespace-alias-2.html +++ b/test-files/golden-tests/namespace-alias-2.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/namespace-alias-3.html b/test-files/golden-tests/namespace-alias-3.html index 4fe5a7c883..506747425b 100644 --- a/test-files/golden-tests/namespace-alias-3.html +++ b/test-files/golden-tests/namespace-alias-3.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/namespace.html b/test-files/golden-tests/namespace.html index 9f3a71d32b..24ce5e5c07 100644 --- a/test-files/golden-tests/namespace.html +++ b/test-files/golden-tests/namespace.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/nested-private-template.html b/test-files/golden-tests/nested-private-template.html index cc69d616b0..f1f5fd62fe 100644 --- a/test-files/golden-tests/nested-private-template.html +++ b/test-files/golden-tests/nested-private-template.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/no_unique_address.html b/test-files/golden-tests/no_unique_address.html index 6ee55ddd30..ebe790c283 100644 --- a/test-files/golden-tests/no_unique_address.html +++ b/test-files/golden-tests/no_unique_address.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/noreturn.html b/test-files/golden-tests/noreturn.html index 90ba856a86..6628d1e15f 100644 --- a/test-files/golden-tests/noreturn.html +++ b/test-files/golden-tests/noreturn.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/ns-variables.html b/test-files/golden-tests/ns-variables.html index fa5e33b04a..1fd59235ab 100644 --- a/test-files/golden-tests/ns-variables.html +++ b/test-files/golden-tests/ns-variables.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/out-of-line-record-def.html b/test-files/golden-tests/out-of-line-record-def.html index cfd48b067d..cf5059bbea 100644 --- a/test-files/golden-tests/out-of-line-record-def.html +++ b/test-files/golden-tests/out-of-line-record-def.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/overloaded-op-1.html b/test-files/golden-tests/overloaded-op-1.html index 69e11301aa..338f94b002 100644 --- a/test-files/golden-tests/overloaded-op-1.html +++ b/test-files/golden-tests/overloaded-op-1.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/overloaded-op-2.html b/test-files/golden-tests/overloaded-op-2.html index 0a07e7024d..da23996806 100644 --- a/test-files/golden-tests/overloaded-op-2.html +++ b/test-files/golden-tests/overloaded-op-2.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/para-1.html b/test-files/golden-tests/para-1.html index cd904e605b..3ad2170de6 100644 --- a/test-files/golden-tests/para-1.html +++ b/test-files/golden-tests/para-1.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/para-2.html b/test-files/golden-tests/para-2.html index d72b17829d..68f94c0d4e 100644 --- a/test-files/golden-tests/para-2.html +++ b/test-files/golden-tests/para-2.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/param-direction.html b/test-files/golden-tests/param-direction.html index cf444c2f83..e1936ee8e8 100644 --- a/test-files/golden-tests/param-direction.html +++ b/test-files/golden-tests/param-direction.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/param.html b/test-files/golden-tests/param.html index 9ba9479c62..c38680f8ea 100644 --- a/test-files/golden-tests/param.html +++ b/test-files/golden-tests/param.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/pre-post.html b/test-files/golden-tests/pre-post.html index fb0ca88d29..1e97a1d12a 100644 --- a/test-files/golden-tests/pre-post.html +++ b/test-files/golden-tests/pre-post.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/record-1.html b/test-files/golden-tests/record-1.html index 99a9096532..7b1e85c529 100644 --- a/test-files/golden-tests/record-1.html +++ b/test-files/golden-tests/record-1.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/record-access.html b/test-files/golden-tests/record-access.html index dcca5303e7..e2252a1dd4 100644 --- a/test-files/golden-tests/record-access.html +++ b/test-files/golden-tests/record-access.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/record-data.html b/test-files/golden-tests/record-data.html index 329089fbe9..a28d138545 100644 --- a/test-files/golden-tests/record-data.html +++ b/test-files/golden-tests/record-data.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/record-inheritance.html b/test-files/golden-tests/record-inheritance.html index b88e741c92..a10cfbb406 100644 --- a/test-files/golden-tests/record-inheritance.html +++ b/test-files/golden-tests/record-inheritance.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/ref.html b/test-files/golden-tests/ref.html index f6163dfe8d..31117852ba 100644 --- a/test-files/golden-tests/ref.html +++ b/test-files/golden-tests/ref.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/requires-clause.html b/test-files/golden-tests/requires-clause.html index 727d4ad4d4..0df9c63744 100644 --- a/test-files/golden-tests/requires-clause.html +++ b/test-files/golden-tests/requires-clause.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/spec-mem-implicit-instantiation.html b/test-files/golden-tests/spec-mem-implicit-instantiation.html index f0534ffbd0..9512c1456e 100644 --- a/test-files/golden-tests/spec-mem-implicit-instantiation.html +++ b/test-files/golden-tests/spec-mem-implicit-instantiation.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/static-data-def-constexpr.html b/test-files/golden-tests/static-data-def-constexpr.html index 481bc49503..4728c19f87 100644 --- a/test-files/golden-tests/static-data-def-constexpr.html +++ b/test-files/golden-tests/static-data-def-constexpr.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/static-data-def.html b/test-files/golden-tests/static-data-def.html index 2736465d48..ce80d0a492 100644 --- a/test-files/golden-tests/static-data-def.html +++ b/test-files/golden-tests/static-data-def.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/static-data-template.html b/test-files/golden-tests/static-data-template.html index 8ee45be585..e0c6fe3241 100644 --- a/test-files/golden-tests/static-data-template.html +++ b/test-files/golden-tests/static-data-template.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/temp/c_mct_expl_inline.html b/test-files/golden-tests/temp/c_mct_expl_inline.html index 6632247d01..d375b71168 100644 --- a/test-files/golden-tests/temp/c_mct_expl_inline.html +++ b/test-files/golden-tests/temp/c_mct_expl_inline.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/temp/c_mct_expl_outside.html b/test-files/golden-tests/temp/c_mct_expl_outside.html index 42b5f9709e..fe62776efb 100644 --- a/test-files/golden-tests/temp/c_mct_expl_outside.html +++ b/test-files/golden-tests/temp/c_mct_expl_outside.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/temp/c_mft_expl_inline.html b/test-files/golden-tests/temp/c_mft_expl_inline.html index 1d7435ab5b..acf276de7c 100644 --- a/test-files/golden-tests/temp/c_mft_expl_inline.html +++ b/test-files/golden-tests/temp/c_mft_expl_inline.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/temp/c_mft_expl_outside.html b/test-files/golden-tests/temp/c_mft_expl_outside.html index 226a42054f..d3f028f793 100644 --- a/test-files/golden-tests/temp/c_mft_expl_outside.html +++ b/test-files/golden-tests/temp/c_mft_expl_outside.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/temp/ct_expl.html b/test-files/golden-tests/temp/ct_expl.html index 21be398c5e..1c7f1624e1 100644 --- a/test-files/golden-tests/temp/ct_expl.html +++ b/test-files/golden-tests/temp/ct_expl.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/temp/ct_mc.html b/test-files/golden-tests/temp/ct_mc.html index 33cd54a92e..ad344cf74a 100644 --- a/test-files/golden-tests/temp/ct_mc.html +++ b/test-files/golden-tests/temp/ct_mc.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/temp/ct_mc_expl_outside.html b/test-files/golden-tests/temp/ct_mc_expl_outside.html index 4126007e63..8836cf7f8d 100644 --- a/test-files/golden-tests/temp/ct_mc_expl_outside.html +++ b/test-files/golden-tests/temp/ct_mc_expl_outside.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/temp/ct_mct.html b/test-files/golden-tests/temp/ct_mct.html index 3e4f1973d2..9f219a763d 100644 --- a/test-files/golden-tests/temp/ct_mct.html +++ b/test-files/golden-tests/temp/ct_mct.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/temp/ct_mct_expl_inline.html b/test-files/golden-tests/temp/ct_mct_expl_inline.html index b0c4d6ec5f..645a27a605 100644 --- a/test-files/golden-tests/temp/ct_mct_expl_inline.html +++ b/test-files/golden-tests/temp/ct_mct_expl_inline.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/temp/ct_mct_expl_outside.html b/test-files/golden-tests/temp/ct_mct_expl_outside.html index 12d38d7b15..414a87e260 100644 --- a/test-files/golden-tests/temp/ct_mct_expl_outside.html +++ b/test-files/golden-tests/temp/ct_mct_expl_outside.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/temp/ct_mf.html b/test-files/golden-tests/temp/ct_mf.html index ca8556878f..42a79c564c 100644 --- a/test-files/golden-tests/temp/ct_mf.html +++ b/test-files/golden-tests/temp/ct_mf.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/temp/ct_mf_expl_outside.html b/test-files/golden-tests/temp/ct_mf_expl_outside.html index 980b463785..019d157f7f 100644 --- a/test-files/golden-tests/temp/ct_mf_expl_outside.html +++ b/test-files/golden-tests/temp/ct_mf_expl_outside.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/temp/ct_mft.html b/test-files/golden-tests/temp/ct_mft.html index e3a7028841..5198cb1e76 100644 --- a/test-files/golden-tests/temp/ct_mft.html +++ b/test-files/golden-tests/temp/ct_mft.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/temp/ct_mft_expl_inline.html b/test-files/golden-tests/temp/ct_mft_expl_inline.html index 1c34d0ef38..16907dc1be 100644 --- a/test-files/golden-tests/temp/ct_mft_expl_inline.html +++ b/test-files/golden-tests/temp/ct_mft_expl_inline.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/temp/ct_mft_expl_outside.html b/test-files/golden-tests/temp/ct_mft_expl_outside.html index 1207f4c34b..4021473329 100644 --- a/test-files/golden-tests/temp/ct_mft_expl_outside.html +++ b/test-files/golden-tests/temp/ct_mft_expl_outside.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/temp/ft_expl.html b/test-files/golden-tests/temp/ft_expl.html index d6507f3f97..446c4bb448 100644 --- a/test-files/golden-tests/temp/ft_expl.html +++ b/test-files/golden-tests/temp/ft_expl.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/type-resolution.html b/test-files/golden-tests/type-resolution.html index ae47f8f67c..711614d63a 100644 --- a/test-files/golden-tests/type-resolution.html +++ b/test-files/golden-tests/type-resolution.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/union.html b/test-files/golden-tests/union.html index 1de7e4a33a..499cdfdc50 100644 --- a/test-files/golden-tests/union.html +++ b/test-files/golden-tests/union.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/using-1.html b/test-files/golden-tests/using-1.html index 09199a460a..3e73e75d02 100644 --- a/test-files/golden-tests/using-1.html +++ b/test-files/golden-tests/using-1.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/using-2.html b/test-files/golden-tests/using-2.html index 91d7576273..2757922704 100644 --- a/test-files/golden-tests/using-2.html +++ b/test-files/golden-tests/using-2.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/using-3.html b/test-files/golden-tests/using-3.html index 4d3c97fa7a..7c832daff3 100644 --- a/test-files/golden-tests/using-3.html +++ b/test-files/golden-tests/using-3.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/utf-8.html b/test-files/golden-tests/utf-8.html index 4662e14e94..b846ca973b 100644 --- a/test-files/golden-tests/utf-8.html +++ b/test-files/golden-tests/utf-8.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/var-template.html b/test-files/golden-tests/var-template.html index eb10e36b3c..c0b912f162 100644 --- a/test-files/golden-tests/var-template.html +++ b/test-files/golden-tests/var-template.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

diff --git a/test-files/golden-tests/variadic-function.html b/test-files/golden-tests/variadic-function.html index dc50d078c8..1f3706b0c6 100644 --- a/test-files/golden-tests/variadic-function.html +++ b/test-files/golden-tests/variadic-function.html @@ -4,6 +4,7 @@
+

Reference

Global namespace

From 4ef1426af1ecda51d1e0c16176ecdcd7ba55ae69 Mon Sep 17 00:00:00 2001 From: alandefreitas Date: Tue, 26 Nov 2024 16:21:09 -0300 Subject: [PATCH 3/4] feat(templates): common signature entry partial --- .../addons/generator/adoc/partials/symbols/alias.adoc.hbs | 2 +- .../addons/generator/adoc/partials/symbols/concept.adoc.hbs | 2 +- .../mrdocs/addons/generator/adoc/partials/symbols/enum.adoc.hbs | 2 +- .../addons/generator/adoc/partials/symbols/enumerator.adoc.hbs | 2 +- .../addons/generator/adoc/partials/symbols/field.adoc.hbs | 2 +- .../addons/generator/adoc/partials/symbols/friend.adoc.hbs | 2 +- .../addons/generator/adoc/partials/symbols/function.adoc.hbs | 2 +- .../addons/generator/adoc/partials/symbols/guide.adoc.hbs | 2 +- .../addons/generator/adoc/partials/symbols/overloads.adoc.hbs | 2 +- .../addons/generator/adoc/partials/symbols/record.adoc.hbs | 2 +- .../addons/generator/adoc/partials/symbols/typedef.adoc.hbs | 2 +- .../addons/generator/adoc/partials/symbols/using.adoc.hbs | 2 +- .../addons/generator/adoc/partials/symbols/variable.adoc.hbs | 2 +- share/mrdocs/addons/generator/common/partials/signature.hbs | 1 + .../addons/generator/html/partials/symbols/alias.html.hbs | 2 +- .../addons/generator/html/partials/symbols/concept.html.hbs | 2 +- .../mrdocs/addons/generator/html/partials/symbols/enum.html.hbs | 2 +- .../addons/generator/html/partials/symbols/enumerator.html.hbs | 2 +- .../addons/generator/html/partials/symbols/field.html.hbs | 2 +- .../addons/generator/html/partials/symbols/friend.html.hbs | 2 +- .../addons/generator/html/partials/symbols/function.html.hbs | 2 +- .../addons/generator/html/partials/symbols/guide.html.hbs | 2 +- .../addons/generator/html/partials/symbols/overloads.html.hbs | 2 +- .../addons/generator/html/partials/symbols/record.html.hbs | 2 +- .../addons/generator/html/partials/symbols/typedef.html.hbs | 2 +- .../addons/generator/html/partials/symbols/using.html.hbs | 2 +- .../addons/generator/html/partials/symbols/variable.html.hbs | 2 +- 27 files changed, 27 insertions(+), 26 deletions(-) create mode 100644 share/mrdocs/addons/generator/common/partials/signature.hbs diff --git a/share/mrdocs/addons/generator/adoc/partials/symbols/alias.adoc.hbs b/share/mrdocs/addons/generator/adoc/partials/symbols/alias.adoc.hbs index 6afd8eddd0..d23ac993b9 100644 --- a/share/mrdocs/addons/generator/adoc/partials/symbols/alias.adoc.hbs +++ b/share/mrdocs/addons/generator/adoc/partials/symbols/alias.adoc.hbs @@ -10,7 +10,7 @@ [source,cpp,subs="verbatim,macros,-callouts"] ---- -{{>signature/alias symbol=symbol}}; +{{> signature }}; ---- {{#if symbol.doc.description}} diff --git a/share/mrdocs/addons/generator/adoc/partials/symbols/concept.adoc.hbs b/share/mrdocs/addons/generator/adoc/partials/symbols/concept.adoc.hbs index d73b89e166..6a23c43eca 100644 --- a/share/mrdocs/addons/generator/adoc/partials/symbols/concept.adoc.hbs +++ b/share/mrdocs/addons/generator/adoc/partials/symbols/concept.adoc.hbs @@ -10,7 +10,7 @@ [source,cpp,subs="verbatim,macros,-callouts"] ---- -{{>signature/concept symbol=symbol}}; +{{> signature }}; ---- {{#if symbol.doc.description}} diff --git a/share/mrdocs/addons/generator/adoc/partials/symbols/enum.adoc.hbs b/share/mrdocs/addons/generator/adoc/partials/symbols/enum.adoc.hbs index 0cd82fe2af..4845af0532 100644 --- a/share/mrdocs/addons/generator/adoc/partials/symbols/enum.adoc.hbs +++ b/share/mrdocs/addons/generator/adoc/partials/symbols/enum.adoc.hbs @@ -10,7 +10,7 @@ [source,cpp,subs="verbatim,macros,-callouts"] ---- -{{>signature/enum symbol=symbol}}; +{{> signature }}; ---- {{#if symbol.members}} diff --git a/share/mrdocs/addons/generator/adoc/partials/symbols/enumerator.adoc.hbs b/share/mrdocs/addons/generator/adoc/partials/symbols/enumerator.adoc.hbs index f1ce41bd53..c7b507c599 100644 --- a/share/mrdocs/addons/generator/adoc/partials/symbols/enumerator.adoc.hbs +++ b/share/mrdocs/addons/generator/adoc/partials/symbols/enumerator.adoc.hbs @@ -10,7 +10,7 @@ [source,cpp,subs="verbatim,macros,-callouts"] ---- -{{>signature/enumerator symbol=symbol}} +{{> signature }} ---- diff --git a/share/mrdocs/addons/generator/adoc/partials/symbols/field.adoc.hbs b/share/mrdocs/addons/generator/adoc/partials/symbols/field.adoc.hbs index 09838cc200..7adddb5bed 100644 --- a/share/mrdocs/addons/generator/adoc/partials/symbols/field.adoc.hbs +++ b/share/mrdocs/addons/generator/adoc/partials/symbols/field.adoc.hbs @@ -10,7 +10,7 @@ [source,cpp,subs="verbatim,macros,-callouts"] ---- -{{>signature/field symbol=symbol}}; +{{> signature }}; ---- {{#if symbol.doc.description}} diff --git a/share/mrdocs/addons/generator/adoc/partials/symbols/friend.adoc.hbs b/share/mrdocs/addons/generator/adoc/partials/symbols/friend.adoc.hbs index fecd77eebb..06bfcbe18b 100644 --- a/share/mrdocs/addons/generator/adoc/partials/symbols/friend.adoc.hbs +++ b/share/mrdocs/addons/generator/adoc/partials/symbols/friend.adoc.hbs @@ -10,7 +10,7 @@ [source,cpp,subs="verbatim,macros,-callouts"] ---- -{{>signature/friend symbol=symbol}}; +{{> signature }}; ---- {{#if symbol.doc.description}} diff --git a/share/mrdocs/addons/generator/adoc/partials/symbols/function.adoc.hbs b/share/mrdocs/addons/generator/adoc/partials/symbols/function.adoc.hbs index f98373ad1c..3acfa084a0 100644 --- a/share/mrdocs/addons/generator/adoc/partials/symbols/function.adoc.hbs +++ b/share/mrdocs/addons/generator/adoc/partials/symbols/function.adoc.hbs @@ -10,7 +10,7 @@ [source,cpp,subs="verbatim,macros,-callouts"] ---- -{{>signature/function symbol=symbol}}; +{{> signature }}; ---- {{#if symbol.doc.description}} diff --git a/share/mrdocs/addons/generator/adoc/partials/symbols/guide.adoc.hbs b/share/mrdocs/addons/generator/adoc/partials/symbols/guide.adoc.hbs index 1ef93f9408..916ad1f7e5 100644 --- a/share/mrdocs/addons/generator/adoc/partials/symbols/guide.adoc.hbs +++ b/share/mrdocs/addons/generator/adoc/partials/symbols/guide.adoc.hbs @@ -10,7 +10,7 @@ [source,cpp,subs="verbatim,macros,-callouts"] ---- -{{>signature/guide symbol=symbol}}; +{{> signature }}; ---- {{#if symbol.doc.description}} diff --git a/share/mrdocs/addons/generator/adoc/partials/symbols/overloads.adoc.hbs b/share/mrdocs/addons/generator/adoc/partials/symbols/overloads.adoc.hbs index e6c9f1d64f..9f08f7dead 100644 --- a/share/mrdocs/addons/generator/adoc/partials/symbols/overloads.adoc.hbs +++ b/share/mrdocs/addons/generator/adoc/partials/symbols/overloads.adoc.hbs @@ -16,7 +16,7 @@ [source,cpp,subs="verbatim,macros,-callouts"] ---- -{{> (concat 'signature' '/' (lookup member 'kind')) symbol=member link=member}}; +{{> signature symbol=member link=member}}; ---- {{/each}} diff --git a/share/mrdocs/addons/generator/adoc/partials/symbols/record.adoc.hbs b/share/mrdocs/addons/generator/adoc/partials/symbols/record.adoc.hbs index 4d710efb5f..56d553f805 100644 --- a/share/mrdocs/addons/generator/adoc/partials/symbols/record.adoc.hbs +++ b/share/mrdocs/addons/generator/adoc/partials/symbols/record.adoc.hbs @@ -10,7 +10,7 @@ [source,cpp,subs="verbatim,macros,-callouts"] ---- -{{>signature/record symbol=symbol}}; +{{> signature }}; ---- {{#with symbol.interface}} diff --git a/share/mrdocs/addons/generator/adoc/partials/symbols/typedef.adoc.hbs b/share/mrdocs/addons/generator/adoc/partials/symbols/typedef.adoc.hbs index 70b008f1e4..a477304011 100644 --- a/share/mrdocs/addons/generator/adoc/partials/symbols/typedef.adoc.hbs +++ b/share/mrdocs/addons/generator/adoc/partials/symbols/typedef.adoc.hbs @@ -10,7 +10,7 @@ [source,cpp,subs="verbatim,macros,-callouts"] ---- -{{>signature/typedef symbol=symbol}}; +{{> signature }}; ---- {{#if symbol.doc.description}} diff --git a/share/mrdocs/addons/generator/adoc/partials/symbols/using.adoc.hbs b/share/mrdocs/addons/generator/adoc/partials/symbols/using.adoc.hbs index fe72dea994..0b98619d16 100644 --- a/share/mrdocs/addons/generator/adoc/partials/symbols/using.adoc.hbs +++ b/share/mrdocs/addons/generator/adoc/partials/symbols/using.adoc.hbs @@ -10,7 +10,7 @@ [source,cpp,subs="verbatim,macros,-callouts"] ---- -{{>signature/using symbol=symbol}}; +{{> signature }}; ---- {{#if symbol.doc.description}} diff --git a/share/mrdocs/addons/generator/adoc/partials/symbols/variable.adoc.hbs b/share/mrdocs/addons/generator/adoc/partials/symbols/variable.adoc.hbs index 617e54c79b..26b89b06bb 100644 --- a/share/mrdocs/addons/generator/adoc/partials/symbols/variable.adoc.hbs +++ b/share/mrdocs/addons/generator/adoc/partials/symbols/variable.adoc.hbs @@ -10,7 +10,7 @@ [source,cpp,subs="verbatim,macros,-callouts"] ---- -{{>signature/variable symbol=symbol}}; +{{> signature }}; ---- {{#if symbol.doc.description}} diff --git a/share/mrdocs/addons/generator/common/partials/signature.hbs b/share/mrdocs/addons/generator/common/partials/signature.hbs new file mode 100644 index 0000000000..9de33a16db --- /dev/null +++ b/share/mrdocs/addons/generator/common/partials/signature.hbs @@ -0,0 +1 @@ +{{> (concat 'signature' '/' (lookup symbol 'kind')) }} \ No newline at end of file diff --git a/share/mrdocs/addons/generator/html/partials/symbols/alias.html.hbs b/share/mrdocs/addons/generator/html/partials/symbols/alias.html.hbs index 2a4af74f29..74596e1cd4 100644 --- a/share/mrdocs/addons/generator/html/partials/symbols/alias.html.hbs +++ b/share/mrdocs/addons/generator/html/partials/symbols/alias.html.hbs @@ -12,7 +12,7 @@
-            {{>signature/alias symbol=symbol}};
+            {{> signature }};
         
{{#if symbol.doc.description}} diff --git a/share/mrdocs/addons/generator/html/partials/symbols/concept.html.hbs b/share/mrdocs/addons/generator/html/partials/symbols/concept.html.hbs index c66c717f97..1b19386a21 100644 --- a/share/mrdocs/addons/generator/html/partials/symbols/concept.html.hbs +++ b/share/mrdocs/addons/generator/html/partials/symbols/concept.html.hbs @@ -12,7 +12,7 @@
-            {{>signature/concept symbol=symbol}};
+            {{> signature }};
         
{{#if symbol.doc.description}} diff --git a/share/mrdocs/addons/generator/html/partials/symbols/enum.html.hbs b/share/mrdocs/addons/generator/html/partials/symbols/enum.html.hbs index 76661f9866..c3c4ad8373 100644 --- a/share/mrdocs/addons/generator/html/partials/symbols/enum.html.hbs +++ b/share/mrdocs/addons/generator/html/partials/symbols/enum.html.hbs @@ -13,7 +13,7 @@
-            {{>signature/enum symbol=symbol}};
+            {{> signature }};
         
diff --git a/share/mrdocs/addons/generator/html/partials/symbols/enumerator.html.hbs b/share/mrdocs/addons/generator/html/partials/symbols/enumerator.html.hbs index ed28a9cc1d..8d4c66ef7c 100644 --- a/share/mrdocs/addons/generator/html/partials/symbols/enumerator.html.hbs +++ b/share/mrdocs/addons/generator/html/partials/symbols/enumerator.html.hbs @@ -13,7 +13,7 @@
-            {{>signature/enumerator symbol=symbol}}
+            {{> signature }}
         
diff --git a/share/mrdocs/addons/generator/html/partials/symbols/field.html.hbs b/share/mrdocs/addons/generator/html/partials/symbols/field.html.hbs index 739b820190..6ad25419fe 100644 --- a/share/mrdocs/addons/generator/html/partials/symbols/field.html.hbs +++ b/share/mrdocs/addons/generator/html/partials/symbols/field.html.hbs @@ -13,7 +13,7 @@
-            {{>signature/field symbol=symbol}};
+            {{> signature }};
         
diff --git a/share/mrdocs/addons/generator/html/partials/symbols/friend.html.hbs b/share/mrdocs/addons/generator/html/partials/symbols/friend.html.hbs index 029d0d12ce..08ab1aed6c 100644 --- a/share/mrdocs/addons/generator/html/partials/symbols/friend.html.hbs +++ b/share/mrdocs/addons/generator/html/partials/symbols/friend.html.hbs @@ -13,7 +13,7 @@
-            {{>signature/friend symbol=symbol}};
+            {{> signature }};
         
diff --git a/share/mrdocs/addons/generator/html/partials/symbols/function.html.hbs b/share/mrdocs/addons/generator/html/partials/symbols/function.html.hbs index 682824c86f..87c49f910b 100644 --- a/share/mrdocs/addons/generator/html/partials/symbols/function.html.hbs +++ b/share/mrdocs/addons/generator/html/partials/symbols/function.html.hbs @@ -13,7 +13,7 @@
-            {{>signature/function symbol=symbol}};
+            {{> signature }};
         
diff --git a/share/mrdocs/addons/generator/html/partials/symbols/guide.html.hbs b/share/mrdocs/addons/generator/html/partials/symbols/guide.html.hbs index 9826a669b1..e98aa2adef 100644 --- a/share/mrdocs/addons/generator/html/partials/symbols/guide.html.hbs +++ b/share/mrdocs/addons/generator/html/partials/symbols/guide.html.hbs @@ -13,7 +13,7 @@
-            {{>signature/guide symbol=symbol}};
+            {{> signature }};
         
diff --git a/share/mrdocs/addons/generator/html/partials/symbols/overloads.html.hbs b/share/mrdocs/addons/generator/html/partials/symbols/overloads.html.hbs index d93852e01a..5277447ebc 100644 --- a/share/mrdocs/addons/generator/html/partials/symbols/overloads.html.hbs +++ b/share/mrdocs/addons/generator/html/partials/symbols/overloads.html.hbs @@ -9,7 +9,7 @@

{{{member.doc.brief}}}

-
{{> (concat 'signature' '/' (lookup member 'kind')) symbol=member}};
+
{{> signature symbol=member }};
» more... {{/each}} diff --git a/share/mrdocs/addons/generator/html/partials/symbols/record.html.hbs b/share/mrdocs/addons/generator/html/partials/symbols/record.html.hbs index effd6a64e6..3571399e72 100644 --- a/share/mrdocs/addons/generator/html/partials/symbols/record.html.hbs +++ b/share/mrdocs/addons/generator/html/partials/symbols/record.html.hbs @@ -13,7 +13,7 @@
-            {{>signature/record symbol=symbol}};
+            {{> signature }};
         
diff --git a/share/mrdocs/addons/generator/html/partials/symbols/typedef.html.hbs b/share/mrdocs/addons/generator/html/partials/symbols/typedef.html.hbs index 51567149e8..eebdfb6384 100644 --- a/share/mrdocs/addons/generator/html/partials/symbols/typedef.html.hbs +++ b/share/mrdocs/addons/generator/html/partials/symbols/typedef.html.hbs @@ -13,7 +13,7 @@
-            {{>signature/typedef symbol=symbol}};
+            {{> signature }};
         
diff --git a/share/mrdocs/addons/generator/html/partials/symbols/using.html.hbs b/share/mrdocs/addons/generator/html/partials/symbols/using.html.hbs index a5f9756d96..1c2d9e9884 100644 --- a/share/mrdocs/addons/generator/html/partials/symbols/using.html.hbs +++ b/share/mrdocs/addons/generator/html/partials/symbols/using.html.hbs @@ -13,7 +13,7 @@
-            {{>signature/using symbol=symbol}};
+            {{> signature }};
         
diff --git a/share/mrdocs/addons/generator/html/partials/symbols/variable.html.hbs b/share/mrdocs/addons/generator/html/partials/symbols/variable.html.hbs index 0d68f9f086..a2d01019d6 100644 --- a/share/mrdocs/addons/generator/html/partials/symbols/variable.html.hbs +++ b/share/mrdocs/addons/generator/html/partials/symbols/variable.html.hbs @@ -13,7 +13,7 @@
-            {{>signature/variable symbol=symbol}};
+            {{> signature }};
         
From 52ca248e1bccc4145d774fb9410b7038cbd4e126 Mon Sep 17 00:00:00 2001 From: alandefreitas Date: Tue, 26 Nov 2024 17:15:14 -0300 Subject: [PATCH 4/4] feat(HandlebarsGenerator): unify signature helpers --- .../adoc/partials/signature/using.adoc.hbs | 1 - .../partials/signature/alias.hbs} | 0 .../partials/signature/concept.hbs} | 0 .../partials/signature/enum.hbs} | 0 .../partials/signature/enumerator.hbs} | 0 .../partials/signature/field.hbs} | 0 .../partials/signature/friend.hbs} | 0 .../partials/signature/function.hbs} | 0 .../partials/signature/guide.hbs} | 0 .../partials/signature/namespace.hbs} | 0 .../partials/signature/record.hbs} | 0 .../partials/signature/specialization.hbs} | 0 .../partials/signature/typedef.hbs} | 0 .../partials/signature/undefined.hbs} | 0 .../common/partials/signature/using.hbs | 1 + .../partials/signature/variable.hbs} | 0 .../common/partials/types/template-args.hbs | 4 +- .../common/partials/types/template-head.hbs | 4 +- .../html/partials/signature/alias.html.hbs | 1 - .../html/partials/signature/concept.html.hbs | 3 - .../html/partials/signature/enum.html.hbs | 2 - .../partials/signature/enumerator.html.hbs | 1 - .../html/partials/signature/field.html.hbs | 6 - .../html/partials/signature/friend.html.hbs | 5 - .../html/partials/signature/function.html.hbs | 28 --- .../html/partials/signature/guide.html.hbs | 8 - .../partials/signature/namespace.html.hbs | 1 - .../html/partials/signature/record.html.hbs | 15 -- .../signature/specialization.html.hbs | 1 - .../html/partials/signature/typedef.html.hbs | 7 - .../partials/signature/undefined.html.hbs | 1 - .../html/partials/signature/using.html.hbs | 5 - .../html/partials/signature/variable.html.hbs | 11 -- test-files/golden-tests/alias-template.html | 16 +- .../class-template-partial-spec.html | 18 +- .../golden-tests/class-template-spec.html | 56 +++--- .../class-template-specializations-1.html | 160 +++++++++--------- .../class-template-specializations-2.html | 74 ++++---- .../class-template-specializations-3.html | 62 +++---- test-files/golden-tests/class-template.html | 10 +- test-files/golden-tests/concept.html | 4 +- .../golden-tests/dependency-propagation.html | 12 +- test-files/golden-tests/duplicate-jdoc.html | 4 +- .../golden-tests/explicit-conv-operator.html | 14 +- test-files/golden-tests/explicit-ctor.html | 98 +++++++---- .../golden-tests/explicit-deduct-guide.html | 20 +-- .../explicit-object-parameter.html | 8 +- .../golden-tests/function-template.html | 36 ++-- .../golden-tests/function-tparm-decay.html | 8 +- .../implicit-instantiation-member-ref.html | 32 ++-- test-files/golden-tests/mem-fn.html | 4 +- .../golden-tests/namespace-alias-1.html | 3 +- .../golden-tests/namespace-alias-2.html | 6 +- .../golden-tests/namespace-alias-3.html | 6 +- .../golden-tests/nested-private-template.html | 12 +- test-files/golden-tests/record-data.html | 4 +- .../golden-tests/record-inheritance.html | 2 +- test-files/golden-tests/ref.html | 2 +- test-files/golden-tests/requires-clause.html | 26 +-- .../spec-mem-implicit-instantiation.html | 8 +- test-files/golden-tests/static-data-def.html | 2 +- .../golden-tests/static-data-template.html | 18 +- .../golden-tests/temp/c_mct_expl_inline.html | 10 +- .../golden-tests/temp/c_mct_expl_outside.html | 10 +- .../golden-tests/temp/c_mft_expl_inline.html | 12 +- .../golden-tests/temp/c_mft_expl_outside.html | 12 +- test-files/golden-tests/temp/ct_expl.html | 10 +- test-files/golden-tests/temp/ct_mc.html | 2 +- .../golden-tests/temp/ct_mc_expl_outside.html | 2 +- test-files/golden-tests/temp/ct_mct.html | 4 +- .../golden-tests/temp/ct_mct_expl_inline.html | 12 +- .../temp/ct_mct_expl_outside.html | 4 +- test-files/golden-tests/temp/ct_mf.html | 2 +- .../golden-tests/temp/ct_mf_expl_outside.html | 2 +- test-files/golden-tests/temp/ct_mft.html | 4 +- .../golden-tests/temp/ct_mft_expl_inline.html | 14 +- .../temp/ct_mft_expl_outside.html | 4 +- test-files/golden-tests/temp/ft_expl.html | 12 +- test-files/golden-tests/type-resolution.html | 46 ++--- test-files/golden-tests/using-2.html | 6 +- test-files/golden-tests/using-3.html | 6 +- test-files/golden-tests/var-template.html | 28 +-- .../golden-tests/variadic-function.html | 8 +- 83 files changed, 486 insertions(+), 554 deletions(-) delete mode 100644 share/mrdocs/addons/generator/adoc/partials/signature/using.adoc.hbs rename share/mrdocs/addons/generator/{adoc/partials/signature/alias.adoc.hbs => common/partials/signature/alias.hbs} (100%) rename share/mrdocs/addons/generator/{adoc/partials/signature/concept.adoc.hbs => common/partials/signature/concept.hbs} (100%) rename share/mrdocs/addons/generator/{adoc/partials/signature/enum.adoc.hbs => common/partials/signature/enum.hbs} (100%) rename share/mrdocs/addons/generator/{adoc/partials/signature/enumerator.adoc.hbs => common/partials/signature/enumerator.hbs} (100%) rename share/mrdocs/addons/generator/{adoc/partials/signature/field.adoc.hbs => common/partials/signature/field.hbs} (100%) rename share/mrdocs/addons/generator/{adoc/partials/signature/friend.adoc.hbs => common/partials/signature/friend.hbs} (100%) rename share/mrdocs/addons/generator/{adoc/partials/signature/function.adoc.hbs => common/partials/signature/function.hbs} (100%) rename share/mrdocs/addons/generator/{adoc/partials/signature/guide.adoc.hbs => common/partials/signature/guide.hbs} (100%) rename share/mrdocs/addons/generator/{adoc/partials/signature/namespace.adoc.hbs => common/partials/signature/namespace.hbs} (100%) rename share/mrdocs/addons/generator/{adoc/partials/signature/record.adoc.hbs => common/partials/signature/record.hbs} (100%) rename share/mrdocs/addons/generator/{adoc/partials/signature/specialization.adoc.hbs => common/partials/signature/specialization.hbs} (100%) rename share/mrdocs/addons/generator/{adoc/partials/signature/typedef.adoc.hbs => common/partials/signature/typedef.hbs} (100%) rename share/mrdocs/addons/generator/{adoc/partials/signature/undefined.adoc.hbs => common/partials/signature/undefined.hbs} (100%) create mode 100644 share/mrdocs/addons/generator/common/partials/signature/using.hbs rename share/mrdocs/addons/generator/{adoc/partials/signature/variable.adoc.hbs => common/partials/signature/variable.hbs} (100%) delete mode 100644 share/mrdocs/addons/generator/html/partials/signature/alias.html.hbs delete mode 100644 share/mrdocs/addons/generator/html/partials/signature/concept.html.hbs delete mode 100644 share/mrdocs/addons/generator/html/partials/signature/enum.html.hbs delete mode 100644 share/mrdocs/addons/generator/html/partials/signature/enumerator.html.hbs delete mode 100644 share/mrdocs/addons/generator/html/partials/signature/field.html.hbs delete mode 100644 share/mrdocs/addons/generator/html/partials/signature/friend.html.hbs delete mode 100644 share/mrdocs/addons/generator/html/partials/signature/function.html.hbs delete mode 100644 share/mrdocs/addons/generator/html/partials/signature/guide.html.hbs delete mode 100644 share/mrdocs/addons/generator/html/partials/signature/namespace.html.hbs delete mode 100644 share/mrdocs/addons/generator/html/partials/signature/record.html.hbs delete mode 100644 share/mrdocs/addons/generator/html/partials/signature/specialization.html.hbs delete mode 100644 share/mrdocs/addons/generator/html/partials/signature/typedef.html.hbs delete mode 100644 share/mrdocs/addons/generator/html/partials/signature/undefined.html.hbs delete mode 100644 share/mrdocs/addons/generator/html/partials/signature/using.html.hbs delete mode 100644 share/mrdocs/addons/generator/html/partials/signature/variable.html.hbs diff --git a/share/mrdocs/addons/generator/adoc/partials/signature/using.adoc.hbs b/share/mrdocs/addons/generator/adoc/partials/signature/using.adoc.hbs deleted file mode 100644 index d8ffe7733d..0000000000 --- a/share/mrdocs/addons/generator/adoc/partials/signature/using.adoc.hbs +++ /dev/null @@ -1 +0,0 @@ -using {{#if (eq symbol.class "typename")}}typename {{/if}}{{#if (eq symbol.class "enum")}}enum {{/if}}{{#if symbol.qualifier}}{{>types/name-info symbol.qualifier}}::{{/if}}{{symbol.name~}} \ No newline at end of file diff --git a/share/mrdocs/addons/generator/adoc/partials/signature/alias.adoc.hbs b/share/mrdocs/addons/generator/common/partials/signature/alias.hbs similarity index 100% rename from share/mrdocs/addons/generator/adoc/partials/signature/alias.adoc.hbs rename to share/mrdocs/addons/generator/common/partials/signature/alias.hbs diff --git a/share/mrdocs/addons/generator/adoc/partials/signature/concept.adoc.hbs b/share/mrdocs/addons/generator/common/partials/signature/concept.hbs similarity index 100% rename from share/mrdocs/addons/generator/adoc/partials/signature/concept.adoc.hbs rename to share/mrdocs/addons/generator/common/partials/signature/concept.hbs diff --git a/share/mrdocs/addons/generator/adoc/partials/signature/enum.adoc.hbs b/share/mrdocs/addons/generator/common/partials/signature/enum.hbs similarity index 100% rename from share/mrdocs/addons/generator/adoc/partials/signature/enum.adoc.hbs rename to share/mrdocs/addons/generator/common/partials/signature/enum.hbs diff --git a/share/mrdocs/addons/generator/adoc/partials/signature/enumerator.adoc.hbs b/share/mrdocs/addons/generator/common/partials/signature/enumerator.hbs similarity index 100% rename from share/mrdocs/addons/generator/adoc/partials/signature/enumerator.adoc.hbs rename to share/mrdocs/addons/generator/common/partials/signature/enumerator.hbs diff --git a/share/mrdocs/addons/generator/adoc/partials/signature/field.adoc.hbs b/share/mrdocs/addons/generator/common/partials/signature/field.hbs similarity index 100% rename from share/mrdocs/addons/generator/adoc/partials/signature/field.adoc.hbs rename to share/mrdocs/addons/generator/common/partials/signature/field.hbs diff --git a/share/mrdocs/addons/generator/adoc/partials/signature/friend.adoc.hbs b/share/mrdocs/addons/generator/common/partials/signature/friend.hbs similarity index 100% rename from share/mrdocs/addons/generator/adoc/partials/signature/friend.adoc.hbs rename to share/mrdocs/addons/generator/common/partials/signature/friend.hbs diff --git a/share/mrdocs/addons/generator/adoc/partials/signature/function.adoc.hbs b/share/mrdocs/addons/generator/common/partials/signature/function.hbs similarity index 100% rename from share/mrdocs/addons/generator/adoc/partials/signature/function.adoc.hbs rename to share/mrdocs/addons/generator/common/partials/signature/function.hbs diff --git a/share/mrdocs/addons/generator/adoc/partials/signature/guide.adoc.hbs b/share/mrdocs/addons/generator/common/partials/signature/guide.hbs similarity index 100% rename from share/mrdocs/addons/generator/adoc/partials/signature/guide.adoc.hbs rename to share/mrdocs/addons/generator/common/partials/signature/guide.hbs diff --git a/share/mrdocs/addons/generator/adoc/partials/signature/namespace.adoc.hbs b/share/mrdocs/addons/generator/common/partials/signature/namespace.hbs similarity index 100% rename from share/mrdocs/addons/generator/adoc/partials/signature/namespace.adoc.hbs rename to share/mrdocs/addons/generator/common/partials/signature/namespace.hbs diff --git a/share/mrdocs/addons/generator/adoc/partials/signature/record.adoc.hbs b/share/mrdocs/addons/generator/common/partials/signature/record.hbs similarity index 100% rename from share/mrdocs/addons/generator/adoc/partials/signature/record.adoc.hbs rename to share/mrdocs/addons/generator/common/partials/signature/record.hbs diff --git a/share/mrdocs/addons/generator/adoc/partials/signature/specialization.adoc.hbs b/share/mrdocs/addons/generator/common/partials/signature/specialization.hbs similarity index 100% rename from share/mrdocs/addons/generator/adoc/partials/signature/specialization.adoc.hbs rename to share/mrdocs/addons/generator/common/partials/signature/specialization.hbs diff --git a/share/mrdocs/addons/generator/adoc/partials/signature/typedef.adoc.hbs b/share/mrdocs/addons/generator/common/partials/signature/typedef.hbs similarity index 100% rename from share/mrdocs/addons/generator/adoc/partials/signature/typedef.adoc.hbs rename to share/mrdocs/addons/generator/common/partials/signature/typedef.hbs diff --git a/share/mrdocs/addons/generator/adoc/partials/signature/undefined.adoc.hbs b/share/mrdocs/addons/generator/common/partials/signature/undefined.hbs similarity index 100% rename from share/mrdocs/addons/generator/adoc/partials/signature/undefined.adoc.hbs rename to share/mrdocs/addons/generator/common/partials/signature/undefined.hbs diff --git a/share/mrdocs/addons/generator/common/partials/signature/using.hbs b/share/mrdocs/addons/generator/common/partials/signature/using.hbs new file mode 100644 index 0000000000..5fe615efa0 --- /dev/null +++ b/share/mrdocs/addons/generator/common/partials/signature/using.hbs @@ -0,0 +1 @@ +using {{#if (contains (arr "typename" "enum") symbol.class)}} {{symbol.class}}{{/if}}{{#if symbol.qualifier}}{{>types/name-info symbol.qualifier}}::{{/if}}{{symbol.name}} \ No newline at end of file diff --git a/share/mrdocs/addons/generator/adoc/partials/signature/variable.adoc.hbs b/share/mrdocs/addons/generator/common/partials/signature/variable.hbs similarity index 100% rename from share/mrdocs/addons/generator/adoc/partials/signature/variable.adoc.hbs rename to share/mrdocs/addons/generator/common/partials/signature/variable.hbs diff --git a/share/mrdocs/addons/generator/common/partials/types/template-args.hbs b/share/mrdocs/addons/generator/common/partials/types/template-args.hbs index d105b29166..68d9d0acf8 100644 --- a/share/mrdocs/addons/generator/common/partials/types/template-args.hbs +++ b/share/mrdocs/addons/generator/common/partials/types/template-args.hbs @@ -1,5 +1,5 @@ {{! Render all template arguments }} -<{{~#each args~}} +{{ str '<' }}{{~#each args~}} {{~>types/template-arg nolink=../nolink~}} {{~#if (not @last)}}, {{/if~}} -{{~/each~}}> \ No newline at end of file +{{~/each~}}{{ str '>' }} \ No newline at end of file diff --git a/share/mrdocs/addons/generator/common/partials/types/template-head.hbs b/share/mrdocs/addons/generator/common/partials/types/template-head.hbs index a568240fb8..685d460e99 100644 --- a/share/mrdocs/addons/generator/common/partials/types/template-head.hbs +++ b/share/mrdocs/addons/generator/common/partials/types/template-head.hbs @@ -1,5 +1,5 @@ {{! Renders the template head for a template declaration. }} -template<{{#each params}}{{#unless (and @first @last)}} +template{{ str '<' }}{{#each params}}{{#unless (and @first @last)}} {{/unless}}{{>types/template-param~}} {{#unless @last}},{{/unless~}} -{{/each}}>{{#if requires}} requires {{requires}}{{/if}} \ No newline at end of file +{{/each}}{{ str '>' }}{{#if requires}} requires {{requires}}{{/if}} \ No newline at end of file diff --git a/share/mrdocs/addons/generator/html/partials/signature/alias.html.hbs b/share/mrdocs/addons/generator/html/partials/signature/alias.html.hbs deleted file mode 100644 index e8ecf62c14..0000000000 --- a/share/mrdocs/addons/generator/html/partials/signature/alias.html.hbs +++ /dev/null @@ -1 +0,0 @@ -namespace {{symbol.name}} = {{>types/name-info symbol.aliasedSymbol}} diff --git a/share/mrdocs/addons/generator/html/partials/signature/concept.html.hbs b/share/mrdocs/addons/generator/html/partials/signature/concept.html.hbs deleted file mode 100644 index b79a44683a..0000000000 --- a/share/mrdocs/addons/generator/html/partials/signature/concept.html.hbs +++ /dev/null @@ -1,3 +0,0 @@ -{{>types/template-head symbol.template}} - -concept {{>types/declarator-id symbol}} = {{symbol.constraint}} \ No newline at end of file diff --git a/share/mrdocs/addons/generator/html/partials/signature/enum.html.hbs b/share/mrdocs/addons/generator/html/partials/signature/enum.html.hbs deleted file mode 100644 index c37e4873ba..0000000000 --- a/share/mrdocs/addons/generator/html/partials/signature/enum.html.hbs +++ /dev/null @@ -1,2 +0,0 @@ -enum {{>types/declarator-id symbol~}} -{{#if symbol.type}} : {{>types/declarator symbol.type}}{{/if}} \ No newline at end of file diff --git a/share/mrdocs/addons/generator/html/partials/signature/enumerator.html.hbs b/share/mrdocs/addons/generator/html/partials/signature/enumerator.html.hbs deleted file mode 100644 index e223c917b9..0000000000 --- a/share/mrdocs/addons/generator/html/partials/signature/enumerator.html.hbs +++ /dev/null @@ -1 +0,0 @@ -{{symbol.name}}{{#if symbol.initializer}} = {{symbol.initializer}}{{~/if}} \ No newline at end of file diff --git a/share/mrdocs/addons/generator/html/partials/signature/field.html.hbs b/share/mrdocs/addons/generator/html/partials/signature/field.html.hbs deleted file mode 100644 index fc3b6f7bfb..0000000000 --- a/share/mrdocs/addons/generator/html/partials/signature/field.html.hbs +++ /dev/null @@ -1,6 +0,0 @@ -{{#if symbol.isMutable}}mutable -{{/if~}} -{{>types/declarator-before symbol.type}} {{>types/declarator-id symbol~}} -{{#if symbol.isBitfield}} : {{symbol.bitfieldWidth}}{{/if~}} -{{#if symbol.default}} = {{symbol.default}}{{/if~}} -{{>types/declarator-after symbol.type}} \ No newline at end of file diff --git a/share/mrdocs/addons/generator/html/partials/signature/friend.html.hbs b/share/mrdocs/addons/generator/html/partials/signature/friend.html.hbs deleted file mode 100644 index e7a92fc675..0000000000 --- a/share/mrdocs/addons/generator/html/partials/signature/friend.html.hbs +++ /dev/null @@ -1,5 +0,0 @@ -{{#if symbol.type~}} -friend {{>types/declarator symbol.type~}} -{{else if symbol.symbol~}} -{{> (concat 'signature' '/' (lookup . 'symbol.symbol.kind')) symbol=symbol.symbol isFriend=true~}} -{{/if}} \ No newline at end of file diff --git a/share/mrdocs/addons/generator/html/partials/signature/function.html.hbs b/share/mrdocs/addons/generator/html/partials/signature/function.html.hbs deleted file mode 100644 index ea262af312..0000000000 --- a/share/mrdocs/addons/generator/html/partials/signature/function.html.hbs +++ /dev/null @@ -1,28 +0,0 @@ -{{#if symbol.template}}{{>types/template-head symbol.template}} -{{/if~}} -{{#if isFriend}}friend -{{/if~}} -{{#if symbol.constexprKind}}{{symbol.constexprKind}} -{{/if~}} -{{#if symbol.storageClass}}{{symbol.storageClass}} -{{/if~}} -{{#if symbol.isVirtual}}virtual -{{/if~}} -{{#if (eq symbol.class "normal")}}{{>types/declarator-before symbol.return}} -{{/if~}} -{{>types/declarator-id symbol link=symbol.template.primary}} -({{#if symbol.isExplicitObjectMemberFunction}}this {{/if}}{{#each symbol.params}}{{#unless (and @first @last)}} - {{/unless}}{{>types/declarator type decl-name=name~}} - {{#if default}} = {{default}}{{/if~}} - {{#unless @last}},{{/unless~}} -{{/each~}}) -{{~#if symbol.isConst}} const{{/if~}} -{{#if symbol.isVolatile}} volatile{{/if~}} -{{#if symbol.refQualifier}} {{symbol.refQualifier}}{{/if~}} -{{#if symbol.exceptionSpec}} {{symbol.exceptionSpec}}{{/if~}} -{{#if (eq symbol.class "normal")}}{{>types/declarator-after symbol.return}}{{/if~}} -{{#if symbol.hasOverrideAttr}} override{{/if~}} -{{#if symbol.isFinal}} final{{/if~}} -{{#if symbol.isPure}} = 0{{/if~}} -{{#if symbol.isDeleted}} = delete{{/if~}} -{{#if symbol.isDefaulted}} = default{{/if}} \ No newline at end of file diff --git a/share/mrdocs/addons/generator/html/partials/signature/guide.html.hbs b/share/mrdocs/addons/generator/html/partials/signature/guide.html.hbs deleted file mode 100644 index 6a594ff10a..0000000000 --- a/share/mrdocs/addons/generator/html/partials/signature/guide.html.hbs +++ /dev/null @@ -1,8 +0,0 @@ -{{#if symbol.template}}{{>types/template-head symbol.template}} -{{/if~}} -{{>types/declarator-id symbol}} -({{#each symbol.params}}{{#unless (and @first @last)}} - {{/unless}}{{>types/declarator type decl-name=name~}} - {{#if default}} = {{default}}{{/if~}} - {{#unless @last}},{{/unless~}} -{{/each~}}) -> {{>types/declarator symbol.deduced}} \ No newline at end of file diff --git a/share/mrdocs/addons/generator/html/partials/signature/namespace.html.hbs b/share/mrdocs/addons/generator/html/partials/signature/namespace.html.hbs deleted file mode 100644 index a58affd9fa..0000000000 --- a/share/mrdocs/addons/generator/html/partials/signature/namespace.html.hbs +++ /dev/null @@ -1 +0,0 @@ -{{!-- namespace --}} \ No newline at end of file diff --git a/share/mrdocs/addons/generator/html/partials/signature/record.html.hbs b/share/mrdocs/addons/generator/html/partials/signature/record.html.hbs deleted file mode 100644 index 17b91fc509..0000000000 --- a/share/mrdocs/addons/generator/html/partials/signature/record.html.hbs +++ /dev/null @@ -1,15 +0,0 @@ -{{#if symbol.template}}{{>types/template-head symbol.template}} -{{/if~}} -{{#if isFriend}}friend {{/if}}{{symbol.tag}} {{>types/declarator-id symbol link=symbol.template.primary~}} -{{#unless symbol.bases~}} -{{else if isFriend~}} -{{else}} - -{{#each symbol.bases~}} - {{#if @first}} - :{{else}} - ,{{/if~}} - {{#unless (eq access ../symbol.defaultAccess)}} {{access}}{{/unless~}} - {{#if isVirtual}} virtual{{/if}} {{>types/declarator type~}} -{{/each~}} -{{/unless}} \ No newline at end of file diff --git a/share/mrdocs/addons/generator/html/partials/signature/specialization.html.hbs b/share/mrdocs/addons/generator/html/partials/signature/specialization.html.hbs deleted file mode 100644 index f94caae567..0000000000 --- a/share/mrdocs/addons/generator/html/partials/signature/specialization.html.hbs +++ /dev/null @@ -1 +0,0 @@ -{{!-- specialization --}} \ No newline at end of file diff --git a/share/mrdocs/addons/generator/html/partials/signature/typedef.html.hbs b/share/mrdocs/addons/generator/html/partials/signature/typedef.html.hbs deleted file mode 100644 index 7b46b9078d..0000000000 --- a/share/mrdocs/addons/generator/html/partials/signature/typedef.html.hbs +++ /dev/null @@ -1,7 +0,0 @@ -{{#if symbol.isUsing~}} - {{#if symbol.template}}{{>types/template-head symbol.template}} - {{/if~}} - using {{symbol.name}} = {{>types/declarator symbol.type}} -{{~else~}} - typedef {{>types/declarator symbol.type decl-name=symbol.name}} -{{~/if}} \ No newline at end of file diff --git a/share/mrdocs/addons/generator/html/partials/signature/undefined.html.hbs b/share/mrdocs/addons/generator/html/partials/signature/undefined.html.hbs deleted file mode 100644 index c1fbd0783e..0000000000 --- a/share/mrdocs/addons/generator/html/partials/signature/undefined.html.hbs +++ /dev/null @@ -1 +0,0 @@ -{{!-- undefined --}} \ No newline at end of file diff --git a/share/mrdocs/addons/generator/html/partials/signature/using.html.hbs b/share/mrdocs/addons/generator/html/partials/signature/using.html.hbs deleted file mode 100644 index 11d306b620..0000000000 --- a/share/mrdocs/addons/generator/html/partials/signature/using.html.hbs +++ /dev/null @@ -1,5 +0,0 @@ -{{#if (eq symbol.class "namespace")}} -using namespace {{#if symbol.qualifier}}{{>types/name-info symbol.qualifier}}::{{/if}}{{symbol.name}} -{{else}} -using {{#if (eq symbol.class "typename")}}typename {{/if}}{{#if (eq symbol.class "enum")}}enum {{/if}}{{#if symbol.qualifier}}{{>types/name-info symbol.qualifier}}::{{/if}}{{symbol.name}} -{{/if}} diff --git a/share/mrdocs/addons/generator/html/partials/signature/variable.html.hbs b/share/mrdocs/addons/generator/html/partials/signature/variable.html.hbs deleted file mode 100644 index 1fbe6f4ece..0000000000 --- a/share/mrdocs/addons/generator/html/partials/signature/variable.html.hbs +++ /dev/null @@ -1,11 +0,0 @@ -{{#if symbol.template}}{{>types/template-head symbol.template}} -{{/if~}} -{{#if symbol.constexprKind}}{{symbol.constexprKind}} -{{/if~}} -{{#if symbol.storageClass}}{{symbol.storageClass}} -{{/if~}} -{{#if symbol.isThreadLocal}}thread_local -{{/if~}} -{{>types/declarator-before symbol.type}} {{>types/declarator-id symbol link=symbol.template.primary~}} -{{>types/declarator-after symbol.type~}} -{{#if symbol.initializer}} = {{symbol.initializer}}{{/if}} \ No newline at end of file diff --git a/test-files/golden-tests/alias-template.html b/test-files/golden-tests/alias-template.html index c2416c5110..82dd887093 100644 --- a/test-files/golden-tests/alias-template.html +++ b/test-files/golden-tests/alias-template.html @@ -72,7 +72,7 @@

Synopsis

-            template
+            template<typename T>
 struct A;
         
@@ -100,9 +100,9 @@

Synopsis

-            template<
+            template<
     typename T,
-    typename U>
+    typename U>
 struct B;
         
@@ -130,8 +130,8 @@

Synopsis

-            template
-using C = A;
+            template<typename T>
+using C = A<T>;
         
@@ -154,7 +154,7 @@

Synopsis

-            template
+            template<typename T>
 struct D;
         
@@ -203,8 +203,8 @@

Synopsis

-            template
-using E = B;
+            template<typename U>
+using E = B<T, U>;
         
diff --git a/test-files/golden-tests/class-template-partial-spec.html b/test-files/golden-tests/class-template-partial-spec.html index ff32ca1075..13d3402bf3 100644 --- a/test-files/golden-tests/class-template-partial-spec.html +++ b/test-files/golden-tests/class-template-partial-spec.html @@ -51,7 +51,7 @@

Synopsis

-            template
+            template<typename T>
 struct A;
         
@@ -77,14 +77,14 @@

Types

- B + B<U*, T> - B + B<T, long> @@ -114,9 +114,9 @@

Synopsis

-            template<
+            template<
     typename U,
-    typename V>
+    typename V>
 struct B;
         
@@ -144,8 +144,8 @@

Synopsis

-            template
-struct B;
+            template<typename U>
+struct B<U*, T>;
         
@@ -172,8 +172,8 @@

Synopsis

-            template<>
-struct B;
+            template<>
+struct B<T, long>;
         
diff --git a/test-files/golden-tests/class-template-spec.html b/test-files/golden-tests/class-template-spec.html index b8ffd6f674..cef843cba5 100644 --- a/test-files/golden-tests/class-template-spec.html +++ b/test-files/golden-tests/class-template-spec.html @@ -30,14 +30,14 @@

Types

- A + A<int> - A + A<long> @@ -51,14 +51,14 @@

Types

- B + B<T*> - B + B<T&> @@ -72,14 +72,14 @@

Types

- C + C<int, int> - C + C<T*, int> @@ -107,7 +107,7 @@

Synopsis

-            template
+            template<typename T>
 struct A;
         
@@ -183,8 +183,8 @@

Synopsis

-            template<>
-struct A;
+            template<>
+struct A<int>;
         
@@ -216,7 +216,7 @@

Member Functions

-

Function A::g

+

Function A<int>::g

@@ -259,8 +259,8 @@

Synopsis

-            template<>
-struct A;
+            template<>
+struct A<long>;
         
@@ -292,7 +292,7 @@

Member Functions

-

Function A::h

+

Function A<long>::h

@@ -335,7 +335,7 @@

Synopsis

-            template
+            template<typename T>
 struct B;
         
@@ -411,8 +411,8 @@

Synopsis

-            template
-struct B;
+            template<typename T>
+struct B<T*>;
         
@@ -444,7 +444,7 @@

Member Functions

-

Function B::g

+

Function B<T*>::g

@@ -487,8 +487,8 @@

Synopsis

-            template
-struct B;
+            template<typename T>
+struct B<T&>;
         
@@ -520,7 +520,7 @@

Member Functions

-

Function B::h

+

Function B<T&>::h

@@ -563,9 +563,9 @@

Synopsis

-            template<
+            template<
     typename T,
-    typename U>
+    typename U>
 struct C;
         
@@ -641,8 +641,8 @@

Synopsis

-            template<>
-struct C;
+            template<>
+struct C<int, int>;
         
@@ -674,7 +674,7 @@

Member Functions

-

Function C::g

+

Function C<int, int>::g

@@ -717,8 +717,8 @@

Synopsis

-            template
-struct C;
+            template<typename T>
+struct C<T*, int>;
         
@@ -750,7 +750,7 @@

Member Functions

-

Function C::h

+

Function C<T*, int>::h

diff --git a/test-files/golden-tests/class-template-specializations-1.html b/test-files/golden-tests/class-template-specializations-1.html index c6bc593c62..3ee98df582 100644 --- a/test-files/golden-tests/class-template-specializations-1.html +++ b/test-files/golden-tests/class-template-specializations-1.html @@ -366,21 +366,21 @@

Types

- S0<1, int*> + S0<1, int*> - S0<1, T*> + S0<1, T*> - S0<0> + S0<0> @@ -415,9 +415,9 @@

Synopsis

-            template<
+            template<
     int I,
-    typename T = void>
+    typename T = void>
 struct S0;
         
@@ -617,9 +617,9 @@

Synopsis

-            template<
+            template<
     int J,
-    typename U = void>
+    typename U = void>
 struct S2;
         
@@ -798,9 +798,9 @@

Synopsis

-            template<
+            template<
     int K,
-    typename V = void>
+    typename V = void>
 struct S4;
         
@@ -876,9 +876,9 @@

Synopsis

-            template<
+            template<
     int J,
-    typename U = void>
+    typename U = void>
 struct S5;
         
@@ -1071,9 +1071,9 @@

Synopsis

-            template<
+            template<
     int K,
-    typename V = void>
+    typename V = void>
 struct S7;
         
@@ -1252,9 +1252,9 @@

Synopsis

-            template<
+            template<
     int L,
-    typename W = void>
+    typename W = void>
 struct S9;
         
@@ -1330,8 +1330,8 @@

Synopsis

-            template<>
-struct S0<0>;
+            template<>
+struct S0<0>;
         
@@ -1358,8 +1358,8 @@

Synopsis

-            template
-struct S0<1, T*>;
+            template<typename T>
+struct S0<1, T*>;
         
@@ -1386,8 +1386,8 @@

Synopsis

-            template<>
-struct S0<1, int*>;
+            template<>
+struct S0<1, int*>;
         
@@ -1415,7 +1415,7 @@

Synopsis

             struct R0
-    : S0<-1>;
+    : S0<-1>;
         
@@ -1492,7 +1492,7 @@

Synopsis

             struct R1
-    : S0<0>;
+    : S0<0>;
         
@@ -1520,7 +1520,7 @@

Synopsis

             struct R2
-    : S0<1, void*>;
+    : S0<1, void*>;
         
@@ -1548,7 +1548,7 @@

Synopsis

             struct R3
-    : S0<1, int*>;
+    : S0<1, int*>;
         
@@ -1576,7 +1576,7 @@

Synopsis

             struct R4
-    : S0<2>::S1;
+    : S0<2>::S1;
         
@@ -1604,7 +1604,7 @@

Synopsis

             struct R5
-    : S0<3>::S1::S2<-1>;
+    : S0<3>::S1::S2<-1>;
         
@@ -1632,7 +1632,7 @@

Synopsis

             struct R6
-    : S0<4>::S1::S2<5>;
+    : S0<4>::S1::S2<5>;
         
@@ -1660,7 +1660,7 @@

Synopsis

             struct R7
-    : S0<6>::S1::S2<7, void*>;
+    : S0<6>::S1::S2<7, void*>;
         
@@ -1688,7 +1688,7 @@

Synopsis

             struct R8
-    : S0<6>::S1::S2<7, int*>;
+    : S0<6>::S1::S2<7, int*>;
         
@@ -1716,7 +1716,7 @@

Synopsis

             struct R9
-    : S0<8>::S1::S2<9>::S3;
+    : S0<8>::S1::S2<9>::S3;
         
@@ -1744,7 +1744,7 @@

Synopsis

             struct R10
-    : S0<10>::S1::S2<11>::S4<-1>;
+    : S0<10>::S1::S2<11>::S4<-1>;
         
@@ -1772,7 +1772,7 @@

Synopsis

             struct R11
-    : S0<12>::S1::S2<13>::S4<14>;
+    : S0<12>::S1::S2<13>::S4<14>;
         
@@ -1800,7 +1800,7 @@

Synopsis

             struct R12
-    : S0<15>::S1::S2<16>::S4<17, void*>;
+    : S0<15>::S1::S2<16>::S4<17, void*>;
         
@@ -1828,7 +1828,7 @@

Synopsis

             struct R13
-    : S0<15>::S1::S2<16>::S4<17, int*>;
+    : S0<15>::S1::S2<16>::S4<17, int*>;
         
@@ -1856,7 +1856,7 @@

Synopsis

             struct R14
-    : S0<18>::S5<-1>;
+    : S0<18>::S5<-1>;
         
@@ -1884,7 +1884,7 @@

Synopsis

             struct R15
-    : S0<19>::S5<20>;
+    : S0<19>::S5<20>;
         
@@ -1912,7 +1912,7 @@

Synopsis

             struct R16
-    : S0<21>::S5<22, void*>;
+    : S0<21>::S5<22, void*>;
         
@@ -1940,7 +1940,7 @@

Synopsis

             struct R17
-    : S0<21>::S5<22, int*>;
+    : S0<21>::S5<22, int*>;
         
@@ -1968,7 +1968,7 @@

Synopsis

             struct R18
-    : S0<23>::S5<24>::S6;
+    : S0<23>::S5<24>::S6;
         
@@ -1996,7 +1996,7 @@

Synopsis

             struct R19
-    : S0<25>::S5<26>::S6::S7<-1>;
+    : S0<25>::S5<26>::S6::S7<-1>;
         
@@ -2024,7 +2024,7 @@

Synopsis

             struct R20
-    : S0<27>::S5<28>::S6::S7<29, void*>;
+    : S0<27>::S5<28>::S6::S7<29, void*>;
         
@@ -2052,7 +2052,7 @@

Synopsis

             struct R21
-    : S0<27>::S5<28>::S6::S7<29, int*>;
+    : S0<27>::S5<28>::S6::S7<29, int*>;
         
@@ -2080,7 +2080,7 @@

Synopsis

             struct R22
-    : S0<30>::S5<31>::S6::S7<32>;
+    : S0<30>::S5<31>::S6::S7<32>;
         
@@ -2108,7 +2108,7 @@

Synopsis

             struct R23
-    : S0<33>::S5<34>::S6::S7<35>::S8;
+    : S0<33>::S5<34>::S6::S7<35>::S8;
         
@@ -2136,7 +2136,7 @@

Synopsis

             struct R24
-    : S0<36>::S5<37>::S6::S7<38>::S9<-1>;
+    : S0<36>::S5<37>::S6::S7<38>::S9<-1>;
         
@@ -2164,7 +2164,7 @@

Synopsis

             struct R25
-    : S0<39>::S5<40>::S6::S7<41>::S9<42, void*>;
+    : S0<39>::S5<40>::S6::S7<41>::S9<42, void*>;
         
@@ -2192,7 +2192,7 @@

Synopsis

             struct R26
-    : S0<39>::S5<40>::S6::S7<41>::S9<42, int*>;
+    : S0<39>::S5<40>::S6::S7<41>::S9<42, int*>;
         
@@ -2220,7 +2220,7 @@

Synopsis

             struct R27
-    : S0<43>::S5<44>::S6::S7<45>::S9<46>;
+    : S0<43>::S5<44>::S6::S7<45>::S9<46>;
         
@@ -2248,7 +2248,7 @@

Synopsis

             struct R28
-    : S0<0, bool>;
+    : S0<0, bool>;
         
@@ -2325,7 +2325,7 @@

Synopsis

             struct R29
-    : S0<1, int>;
+    : S0<1, int>;
         
@@ -2402,7 +2402,7 @@

Synopsis

             struct R30
-    : S0<2, bool>::S1;
+    : S0<2, bool>::S1;
         
@@ -2471,11 +2471,11 @@

Synopsis

-            template<
+            template<
     int I,
-    typename T>
+    typename T>
 struct R31
-    : S0<3, bool>::S1::S2;
+    : S0<3, bool>::S1::S2<I, T>;
         
@@ -2552,7 +2552,7 @@

Synopsis

             struct R32
-    : S0<4, bool>::S1::S2<5, bool>;
+    : S0<4, bool>::S1::S2<5, bool>;
         
@@ -2629,7 +2629,7 @@

Synopsis

             struct R33
-    : S0<6, bool>::S1::S2<7, int>;
+    : S0<6, bool>::S1::S2<7, int>;
         
@@ -2706,7 +2706,7 @@

Synopsis

             struct R34
-    : S0<8, bool>::S1::S2<9, bool>::S3;
+    : S0<8, bool>::S1::S2<9, bool>::S3;
         
@@ -2754,11 +2754,11 @@

Synopsis

-            template<
+            template<
     int I,
-    typename T>
+    typename T>
 struct R35
-    : S0<10, bool>::S1::S2<11, bool>::S4;
+    : S0<10, bool>::S1::S2<11, bool>::S4<I, T>;
         
@@ -2807,7 +2807,7 @@

Synopsis

             struct R36
-    : S0<12, bool>::S1::S2<13, bool>::S4<14, bool>;
+    : S0<12, bool>::S1::S2<13, bool>::S4<14, bool>;
         
@@ -2856,7 +2856,7 @@

Synopsis

             struct R37
-    : S0<15, bool>::S1::S2<16, bool>::S4<17, int>;
+    : S0<15, bool>::S1::S2<16, bool>::S4<17, int>;
         
@@ -2904,11 +2904,11 @@

Synopsis

-            template<
+            template<
     int I,
-    typename T>
+    typename T>
 struct R38
-    : S0<18, bool>::S5;
+    : S0<18, bool>::S5<I, T>;
         
@@ -2978,7 +2978,7 @@

Synopsis

             struct R39
-    : S0<19, bool>::S5<20, bool>;
+    : S0<19, bool>::S5<20, bool>;
         
@@ -3048,7 +3048,7 @@

Synopsis

             struct R40
-    : S0<21, bool>::S5<22, int>;
+    : S0<21, bool>::S5<22, int>;
         
@@ -3118,7 +3118,7 @@

Synopsis

             struct R41
-    : S0<23, bool>::S5<24, bool>::S6;
+    : S0<23, bool>::S5<24, bool>::S6;
         
@@ -3187,11 +3187,11 @@

Synopsis

-            template<
+            template<
     int I,
-    typename T>
+    typename T>
 struct R42
-    : S0<25, bool>::S5<26, bool>::S6::S7;
+    : S0<25, bool>::S5<26, bool>::S6::S7<I, T>;
         
@@ -3268,7 +3268,7 @@

Synopsis

             struct R43
-    : S0<27, bool>::S5<28, bool>::S6::S7<29, int>;
+    : S0<27, bool>::S5<28, bool>::S6::S7<29, int>;
         
@@ -3345,7 +3345,7 @@

Synopsis

             struct R44
-    : S0<30, bool>::S5<31, bool>::S6::S7<32, bool>;
+    : S0<30, bool>::S5<31, bool>::S6::S7<32, bool>;
         
@@ -3422,7 +3422,7 @@

Synopsis

             struct R45
-    : S0<33, bool>::S5<34, bool>::S6::S7<35, bool>::S8;
+    : S0<33, bool>::S5<34, bool>::S6::S7<35, bool>::S8;
         
@@ -3470,11 +3470,11 @@

Synopsis

-            template<
+            template<
     int I,
-    typename T>
+    typename T>
 struct R46
-    : S0<36, bool>::S5<37, bool>::S6::S7<38, bool>::S9;
+    : S0<36, bool>::S5<37, bool>::S6::S7<38, bool>::S9<I, T>;
         
@@ -3523,7 +3523,7 @@

Synopsis

             struct R47
-    : S0<39, bool>::S5<40, bool>::S6::S7<41, bool>::S9<42, int>;
+    : S0<39, bool>::S5<40, bool>::S6::S7<41, bool>::S9<42, int>;
         
@@ -3572,7 +3572,7 @@

Synopsis

             struct R48
-    : S0<43, bool>::S5<44, bool>::S6::S7<45, bool>::S9<46, bool>;
+    : S0<43, bool>::S5<44, bool>::S6::S7<45, bool>::S9<46, bool>;
         
diff --git a/test-files/golden-tests/class-template-specializations-2.html b/test-files/golden-tests/class-template-specializations-2.html index 46f000cd72..35d4d2bb0b 100644 --- a/test-files/golden-tests/class-template-specializations-2.html +++ b/test-files/golden-tests/class-template-specializations-2.html @@ -30,14 +30,14 @@

Types

- A + A<T*> - A + A<double> @@ -65,7 +65,7 @@

Synopsis

-            template
+            template<typename T>
 struct A;
         
@@ -93,8 +93,8 @@

Synopsis

-            template
-struct A;
+            template<typename T>
+struct A<T*>;
         
@@ -119,14 +119,14 @@

Types

- B + B<U*> - B + B<int> @@ -140,7 +140,7 @@

Types

-

Class A::B

+

Class A<T*>::B

@@ -156,7 +156,7 @@

Synopsis

-            template
+            template<typename U>
 struct B;
         
@@ -168,7 +168,7 @@

Synopsis

-

Class A::B

+

Class A<T*>::B

@@ -184,8 +184,8 @@

Synopsis

-            template
-struct B;
+            template<typename U>
+struct B<U*>;
         
@@ -217,7 +217,7 @@

Types

-

Class A::B::C

+

Class A<T*>::B<U*>::C

@@ -244,7 +244,7 @@

Synopsis

-

Class A::B

+

Class A<T*>::B

@@ -260,8 +260,8 @@

Synopsis

-            template<>
-struct B;
+            template<>
+struct B<int>;
         
@@ -288,8 +288,8 @@

Synopsis

-            template<>
-struct A;
+            template<>
+struct A<double>;
         
@@ -314,7 +314,7 @@

Types

- D + D<float> @@ -328,7 +328,7 @@

Types

-

Class A::D

+

Class A<double>::D

@@ -344,7 +344,7 @@

Synopsis

-            template
+            template<typename U>
 struct D;
         
@@ -370,7 +370,7 @@

Types

- E + E<T*> @@ -384,7 +384,7 @@

Types

-

Class A::D::E

+

Class A<double>::D::E

@@ -400,7 +400,7 @@

Synopsis

-            template
+            template<typename T>
 struct E;
         
@@ -412,7 +412,7 @@

Synopsis

-

Class A::D::E

+

Class A<double>::D::E

@@ -428,8 +428,8 @@

Synopsis

-            template
-struct E;
+            template<typename T>
+struct E<T*>;
         
@@ -461,7 +461,7 @@

Types

-

Class A::D::E::F

+

Class A<double>::D::E<T*>::F

@@ -488,7 +488,7 @@

Synopsis

-

Class A::D

+

Class A<double>::D

@@ -504,8 +504,8 @@

Synopsis

-            template<>
-struct D;
+            template<>
+struct D<float>;
         
@@ -530,7 +530,7 @@

Types

- G + G<T*> @@ -544,7 +544,7 @@

Types

-

Class A::D::G

+

Class A<double>::D<float>::G

@@ -560,7 +560,7 @@

Synopsis

-            template
+            template<typename T>
 struct G;
         
@@ -572,7 +572,7 @@

Synopsis

-

Class A::D::G

+

Class A<double>::D<float>::G

@@ -588,8 +588,8 @@

Synopsis

-            template
-struct G;
+            template<typename T>
+struct G<T*>;
         
diff --git a/test-files/golden-tests/class-template-specializations-3.html b/test-files/golden-tests/class-template-specializations-3.html index c3b8aa0a45..edd9bb243e 100644 --- a/test-files/golden-tests/class-template-specializations-3.html +++ b/test-files/golden-tests/class-template-specializations-3.html @@ -58,7 +58,7 @@

Synopsis

-            template
+            template<typename T>
 struct A;
         
@@ -84,7 +84,7 @@

Types

- B + B<double> @@ -114,7 +114,7 @@

Synopsis

-            template
+            template<typename U>
 struct B;
         
@@ -147,7 +147,7 @@

Types

- D + D<bool> @@ -204,7 +204,7 @@

Synopsis

-            template
+            template<typename V>
 struct D;
         
@@ -232,8 +232,8 @@

Synopsis

-            template<>
-struct D;
+            template<>
+struct D<bool>;
         
@@ -260,8 +260,8 @@

Synopsis

-            template<>
-struct B;
+            template<>
+struct B<double>;
         
@@ -293,7 +293,7 @@

Types

- D + D<bool> @@ -307,7 +307,7 @@

Types

-

Class A::B::C

+

Class A::B<double>::C

@@ -334,7 +334,7 @@

Synopsis

-

Class A::B::D

+

Class A::B<double>::D

@@ -350,7 +350,7 @@

Synopsis

-            template
+            template<typename V>
 struct D;
         
@@ -362,7 +362,7 @@

Synopsis

-

Class A::B::D

+

Class A::B<double>::D

@@ -378,8 +378,8 @@

Synopsis

-            template<>
-struct D;
+            template<>
+struct D<bool>;
         
@@ -552,7 +552,7 @@

Synopsis

-            A::B m0;
+            A<float>::B<double> m0;
         
@@ -575,7 +575,7 @@

Synopsis

-            A::B m1;
+            A<long>::B<double> m1;
         
@@ -598,7 +598,7 @@

Synopsis

-            A::B m2;
+            A<long>::B<float> m2;
         
@@ -621,7 +621,7 @@

Synopsis

-            A::B m3;
+            A<unsigned int>::B<float> m3;
         
@@ -644,7 +644,7 @@

Synopsis

-            A::B m4;
+            A<short>::B<void> m4;
         
@@ -667,7 +667,7 @@

Synopsis

-            A::B::C m5;
+            A<float>::B<double>::C m5;
         
@@ -690,7 +690,7 @@

Synopsis

-            A::B::C m6;
+            A<long>::B<double>::C m6;
         
@@ -713,7 +713,7 @@

Synopsis

-            A::B::C m7;
+            A<long>::B<float>::C m7;
         
@@ -736,7 +736,7 @@

Synopsis

-            A::B::C m8;
+            A<unsigned int>::B<float>::C m8;
         
@@ -759,7 +759,7 @@

Synopsis

-            A::B::C m9;
+            A<short>::B<void>::C m9;
         
@@ -782,7 +782,7 @@

Synopsis

-            A::B::D m10;
+            A<float>::B<double>::D<bool> m10;
         
@@ -805,7 +805,7 @@

Synopsis

-            A::B::D m11;
+            A<long>::B<double>::D<bool> m11;
         
@@ -828,7 +828,7 @@

Synopsis

-            A::B::D m12;
+            A<long>::B<float>::D<bool> m12;
         
@@ -851,7 +851,7 @@

Synopsis

-            A::B::D m13;
+            A<unsigned int>::B<float>::D<bool> m13;
         
@@ -874,7 +874,7 @@

Synopsis

-            A::B::D m14;
+            A<short>::B<void>::D<bool> m14;
         
diff --git a/test-files/golden-tests/class-template.html b/test-files/golden-tests/class-template.html index 81353b1952..82e7785164 100644 --- a/test-files/golden-tests/class-template.html +++ b/test-files/golden-tests/class-template.html @@ -106,7 +106,7 @@

Synopsis

-            template
+            template<typename T>
 struct C0;
         
@@ -422,7 +422,7 @@

Synopsis

-            template
+            template<typename T>
 struct N1;
         
@@ -554,7 +554,7 @@

Synopsis

-            template
+            template<typename T>
 struct C2;
         
@@ -647,7 +647,7 @@

Synopsis

-            template
+            template<typename U>
 struct N2;
         
@@ -809,7 +809,7 @@

Synopsis

-            template
+            template<typename T>
 struct C3;
         
diff --git a/test-files/golden-tests/concept.html b/test-files/golden-tests/concept.html index 56d1dd282a..e80890f4f5 100644 --- a/test-files/golden-tests/concept.html +++ b/test-files/golden-tests/concept.html @@ -92,7 +92,7 @@

Synopsis

-            template
+            template<typename T>
 concept C = sizeof(T) == sizeof(int);
         
@@ -115,7 +115,7 @@

Synopsis

-            template<C T>
+            template<C T>
 void
 f();
         
diff --git a/test-files/golden-tests/dependency-propagation.html b/test-files/golden-tests/dependency-propagation.html index 848b741d10..b6adfcf689 100644 --- a/test-files/golden-tests/dependency-propagation.html +++ b/test-files/golden-tests/dependency-propagation.html @@ -73,7 +73,7 @@

Synopsis

             struct E
-    : N::C;
+    : N::C<int>;
         
@@ -142,8 +142,8 @@

Synopsis

-            template
-using C = B;
+            template<typename T>
+using C = B<T>;
         
@@ -166,8 +166,8 @@

Synopsis

-            template
-using B = A;
+            template<typename T>
+using B = A<T>;
         
@@ -190,7 +190,7 @@

Synopsis

-            template
+            template<typename T>
 struct A;
         
diff --git a/test-files/golden-tests/duplicate-jdoc.html b/test-files/golden-tests/duplicate-jdoc.html index 1298391336..3184f3229f 100644 --- a/test-files/golden-tests/duplicate-jdoc.html +++ b/test-files/golden-tests/duplicate-jdoc.html @@ -258,7 +258,7 @@

Synopsis

-            template
+            template<typename T>
 void
 h0();
         
@@ -288,7 +288,7 @@

Synopsis

-            template
+            template<typename T>
 void
 h1();
         
diff --git a/test-files/golden-tests/explicit-conv-operator.html b/test-files/golden-tests/explicit-conv-operator.html index 964bcbeab2..db62b72272 100644 --- a/test-files/golden-tests/explicit-conv-operator.html +++ b/test-files/golden-tests/explicit-conv-operator.html @@ -120,7 +120,8 @@

Synopsis

-            operator bool();
+            explicit
+operator bool();
         
@@ -194,7 +195,8 @@

Synopsis

-            operator bool();
+            explicit(false)
+operator bool();
         
@@ -268,7 +270,8 @@

Synopsis

-            operator bool();
+            explicit(true)
+operator bool();
         
@@ -294,7 +297,7 @@

Synopsis

-            template
+            template<bool B>
 struct ExplicitExpression;
         
@@ -343,7 +346,8 @@

Synopsis

-            operator bool();
+            explicit(B)
+operator bool();
         
diff --git a/test-files/golden-tests/explicit-ctor.html b/test-files/golden-tests/explicit-ctor.html index a5b30694db..4d1dd4ccab 100644 --- a/test-files/golden-tests/explicit-ctor.html +++ b/test-files/golden-tests/explicit-ctor.html @@ -112,25 +112,29 @@

Members

-
Explicit();
+
explicit
+Explicit();
» more...

-
Explicit(Explicit const&);
+
explicit
+Explicit(Explicit const&);
» more...

-
Explicit(Explicit&&) noexcept;
+
explicit
+Explicit(Explicit&&) noexcept;
» more...

-
Explicit(
+
explicit
+Explicit(
     int,
     int);
» more... @@ -155,7 +159,8 @@

Synopsis

-            Explicit();
+            explicit
+Explicit();
         
@@ -181,7 +186,8 @@

Synopsis

-            Explicit(Explicit const&);
+            explicit
+Explicit(Explicit const&);
         
@@ -207,7 +213,8 @@

Synopsis

-            Explicit(Explicit&&) noexcept;
+            explicit
+Explicit(Explicit&&) noexcept;
         
@@ -233,7 +240,8 @@

Synopsis

-            Explicit(
+            explicit
+Explicit(
     int,
     int);
         
@@ -301,25 +309,29 @@

Members

-
ExplicitTrue();
+
explicit(true)
+ExplicitTrue();
» more...

-
ExplicitTrue(ExplicitTrue const&);
+
explicit(true)
+ExplicitTrue(ExplicitTrue const&);
» more...

-
ExplicitTrue(ExplicitTrue&&) noexcept;
+
explicit(true)
+ExplicitTrue(ExplicitTrue&&) noexcept;
» more...

-
ExplicitTrue(
+
explicit(true)
+ExplicitTrue(
     int,
     int);
» more... @@ -344,7 +356,8 @@

Synopsis

-            ExplicitTrue();
+            explicit(true)
+ExplicitTrue();
         
@@ -370,7 +383,8 @@

Synopsis

-            ExplicitTrue(ExplicitTrue const&);
+            explicit(true)
+ExplicitTrue(ExplicitTrue const&);
         
@@ -396,7 +410,8 @@

Synopsis

-            ExplicitTrue(ExplicitTrue&&) noexcept;
+            explicit(true)
+ExplicitTrue(ExplicitTrue&&) noexcept;
         
@@ -422,7 +437,8 @@

Synopsis

-            ExplicitTrue(
+            explicit(true)
+ExplicitTrue(
     int,
     int);
         
@@ -490,25 +506,29 @@

Members

-
ExplicitFalse();
+
explicit(false)
+ExplicitFalse();
» more...

-
ExplicitFalse(ExplicitFalse const&);
+
explicit(false)
+ExplicitFalse(ExplicitFalse const&);
» more...

-
ExplicitFalse(ExplicitFalse&&) noexcept;
+
explicit(false)
+ExplicitFalse(ExplicitFalse&&) noexcept;
» more...

-
ExplicitFalse(
+
explicit(false)
+ExplicitFalse(
     int,
     int);
» more... @@ -533,7 +553,8 @@

Synopsis

-            ExplicitFalse();
+            explicit(false)
+ExplicitFalse();
         
@@ -559,7 +580,8 @@

Synopsis

-            ExplicitFalse(ExplicitFalse const&);
+            explicit(false)
+ExplicitFalse(ExplicitFalse const&);
         
@@ -585,7 +607,8 @@

Synopsis

-            ExplicitFalse(ExplicitFalse&&) noexcept;
+            explicit(false)
+ExplicitFalse(ExplicitFalse&&) noexcept;
         
@@ -611,7 +634,8 @@

Synopsis

-            ExplicitFalse(
+            explicit(false)
+ExplicitFalse(
     int,
     int);
         
@@ -639,7 +663,7 @@

Synopsis

-            template
+            template<bool B>
 struct ExplicitExpression;
         
@@ -680,25 +704,29 @@

Members

-
ExplicitExpression();
+
explicit(B)
+ExplicitExpression();
» more...

-
ExplicitExpression(ExplicitExpression const&);
+
explicit(B)
+ExplicitExpression(ExplicitExpression const&);
» more...

-
ExplicitExpression(ExplicitExpression&&) noexcept;
+
explicit(B)
+ExplicitExpression(ExplicitExpression&&) noexcept;
» more...

-
ExplicitExpression(
+
explicit(B)
+ExplicitExpression(
     int,
     int);
» more... @@ -723,7 +751,8 @@

Synopsis

-            ExplicitExpression();
+            explicit(B)
+ExplicitExpression();
         
@@ -749,7 +778,8 @@

Synopsis

-            ExplicitExpression(ExplicitExpression const&);
+            explicit(B)
+ExplicitExpression(ExplicitExpression const&);
         
@@ -775,7 +805,8 @@

Synopsis

-            ExplicitExpression(ExplicitExpression&&) noexcept;
+            explicit(B)
+ExplicitExpression(ExplicitExpression&&) noexcept;
         
@@ -801,7 +832,8 @@

Synopsis

-            ExplicitExpression(
+            explicit(B)
+ExplicitExpression(
     int,
     int);
         
diff --git a/test-files/golden-tests/explicit-deduct-guide.html b/test-files/golden-tests/explicit-deduct-guide.html index 0ad5b8aaeb..2e76eb4ec3 100644 --- a/test-files/golden-tests/explicit-deduct-guide.html +++ b/test-files/golden-tests/explicit-deduct-guide.html @@ -44,28 +44,28 @@

Deduction Guides

- X<0> + X<0> - X<0> + X<0> - X<0> + X<0> - X<0> + X<0> @@ -93,7 +93,7 @@

Synopsis

-            template
+            template<int>
 struct X;
         
@@ -121,7 +121,7 @@

Synopsis

-            X<0>(bool) -> X<0>;
+            X<0>(bool) -> X<0>;
         
@@ -144,7 +144,7 @@

Synopsis

-            X<0>(char) -> X<0>;
+            X<0>(char) -> X<0>;
         
@@ -167,7 +167,7 @@

Synopsis

-            X<0>(int) -> X<0>;
+            X<0>(int) -> X<0>;
         
@@ -190,8 +190,8 @@

Synopsis

-            template
-X<0>(long) -> X<0>;
+            template<bool B = true>
+X<0>(long) -> X<0>;
         
diff --git a/test-files/golden-tests/explicit-object-parameter.html b/test-files/golden-tests/explicit-object-parameter.html index 5d67f83927..146eab215c 100644 --- a/test-files/golden-tests/explicit-object-parameter.html +++ b/test-files/golden-tests/explicit-object-parameter.html @@ -89,7 +89,7 @@

Members

-
template
+
template<typename Self>
 constexpr
 auto&&
 value(this Self&& self);
@@ -98,7 +98,7 @@

Members

-
template
+
template<typename Self>
 constexpr
 auto&&
 value(this 
@@ -126,7 +126,7 @@ 

Synopsis

-            template
+            template<typename Self>
 constexpr
 auto&&
 value(this Self&& self);
@@ -155,7 +155,7 @@ 

Synopsis

-            template
+            template<typename Self>
 constexpr
 auto&&
 value(this 
diff --git a/test-files/golden-tests/function-template.html b/test-files/golden-tests/function-template.html
index 62611bd4be..c1c4520597 100644
--- a/test-files/golden-tests/function-template.html
+++ b/test-files/golden-tests/function-template.html
@@ -128,7 +128,7 @@ 

Synopsis

-            template
+            template<typename T>
 void
 f0(int x);
         
@@ -156,7 +156,7 @@

Synopsis

-            template
+            template<typename T>
 void
 f1(T t);
         
@@ -184,7 +184,7 @@

Synopsis

-            template
+            template<typename T = int>
 void
 f2();
         
@@ -212,9 +212,9 @@

Synopsis

-            template<
+            template<
     typename T,
-    class U = int>
+    class U = int>
 void
 f3();
         
@@ -242,7 +242,7 @@

Synopsis

-            template
+            template<int I>
 void
 g0(int x);
         
@@ -270,7 +270,7 @@

Synopsis

-            template
+            template<int I = 1>
 void
 g1();
         
@@ -298,9 +298,9 @@

Synopsis

-            template<
+            template<
     int J,
-    int I = 1>
+    int I = 1>
 void
 g2();
         
@@ -328,7 +328,7 @@

Synopsis

-            template
+            template<class x:auto>
 void
 h0(auto x);
         
@@ -356,9 +356,9 @@

Synopsis

-            template<
+            template<
     class x:auto,
-    class auto:2>
+    class auto:2>
 void
 h1(
     auto x,
@@ -388,9 +388,9 @@ 

Synopsis

-            template<
+            template<
     typename T = int,
-    int I = 1>
+    int I = 1>
 void
 i();
         
@@ -418,7 +418,7 @@

Synopsis

-            template typename T>
+            template<template<typename U> typename T>
 void
 j0();
         
@@ -446,9 +446,9 @@

Synopsis

-            template<
-    template typename X,
-    template typename Z>
+            template<
+    template<typename W> typename X,
+    template<typename Y> typename Z>
 void
 j1();
         
diff --git a/test-files/golden-tests/function-tparm-decay.html b/test-files/golden-tests/function-tparm-decay.html index 01b9ac506a..270883e4fb 100644 --- a/test-files/golden-tests/function-tparm-decay.html +++ b/test-files/golden-tests/function-tparm-decay.html @@ -100,7 +100,7 @@

Synopsis

-            template
+            template<int x>
 void
 f();
         
@@ -128,7 +128,7 @@

Synopsis

-            template
+            template<int x[4]>
 void
 g();
         
@@ -156,7 +156,7 @@

Synopsis

-            template
+            template<int(* x)(bool const)>
 void
 h();
         
@@ -230,7 +230,7 @@

Synopsis

-            template
+            template<int>
 void
 i();
         
diff --git a/test-files/golden-tests/implicit-instantiation-member-ref.html b/test-files/golden-tests/implicit-instantiation-member-ref.html index 3b9d983525..2520b5fb83 100644 --- a/test-files/golden-tests/implicit-instantiation-member-ref.html +++ b/test-files/golden-tests/implicit-instantiation-member-ref.html @@ -128,7 +128,7 @@

Synopsis

-            template
+            template<typename T>
 struct S0;
         
@@ -248,8 +248,8 @@

Synopsis

-            template
-using M1 = S0;
+            template<typename U>
+using M1 = S0<U>;
         
@@ -272,7 +272,7 @@

Synopsis

-            template
+            template<typename U>
 struct S2;
         
@@ -392,8 +392,8 @@

Synopsis

-            template
-using M3 = S2;
+            template<typename V>
+using M3 = S2<U>;
         
@@ -416,7 +416,7 @@

Synopsis

-            template
+            template<typename V>
 struct S4;
         
@@ -488,7 +488,7 @@

Synopsis

-            using A0 = S0;
+            using A0 = S0<int>;
         
@@ -557,7 +557,7 @@

Synopsis

-            using A3 = S0::M0;
+            using A3 = S0<long>::M0;
         
@@ -580,7 +580,7 @@

Synopsis

-            using A4 = S0::S1;
+            using A4 = S0<long long>::S1;
         
@@ -603,7 +603,7 @@

Synopsis

-            using A5 = S0;
+            using A5 = S0<void>;
         
@@ -626,7 +626,7 @@

Synopsis

-            using A6 = A5::M1::M0;
+            using A6 = A5::M1<short>::M0;
         
@@ -649,7 +649,7 @@

Synopsis

-            using A7 = A5::S2::M2;
+            using A7 = A5::S2<bool>::M2;
         
@@ -672,7 +672,7 @@

Synopsis

-            using A8 = A5::S2::S3;
+            using A8 = A5::S2<int>::S3;
         
@@ -695,7 +695,7 @@

Synopsis

-            using A9 = A5::S2::M3::M3::M2;
+            using A9 = A5::S2<char>::M3<int>::M3<unsigned int>::M2;
         
@@ -718,7 +718,7 @@

Synopsis

-            using A10 = A5::S2::M3::M3::S4::M4;
+            using A10 = A5::S2<float>::M3<double>::M3<long double>::S4<void>::M4;
         
diff --git a/test-files/golden-tests/mem-fn.html b/test-files/golden-tests/mem-fn.html index acda594411..6a687f6367 100644 --- a/test-files/golden-tests/mem-fn.html +++ b/test-files/golden-tests/mem-fn.html @@ -971,7 +971,7 @@

Synopsis

             void
-f();
+f(...);
         
@@ -1454,7 +1454,7 @@

Synopsis

             constexpr
 void
-f1() const volatile noexcept;
+f1(...) const volatile noexcept;
         
diff --git a/test-files/golden-tests/namespace-alias-1.html b/test-files/golden-tests/namespace-alias-1.html index 922ea72f6b..82762f128d 100644 --- a/test-files/golden-tests/namespace-alias-1.html +++ b/test-files/golden-tests/namespace-alias-1.html @@ -57,8 +57,7 @@

Synopsis

-            namespace A = LongName
-;
+            namespace A = LongName;
         
diff --git a/test-files/golden-tests/namespace-alias-2.html b/test-files/golden-tests/namespace-alias-2.html index d5cb69edea..61d8667ba6 100644 --- a/test-files/golden-tests/namespace-alias-2.html +++ b/test-files/golden-tests/namespace-alias-2.html @@ -57,8 +57,7 @@

Synopsis

-            namespace A = LongName
-;
+            namespace A = LongName;
         
@@ -79,8 +78,7 @@

Synopsis

-            namespace B = LongName
-;
+            namespace B = LongName;
         
diff --git a/test-files/golden-tests/namespace-alias-3.html b/test-files/golden-tests/namespace-alias-3.html index 506747425b..64f270112d 100644 --- a/test-files/golden-tests/namespace-alias-3.html +++ b/test-files/golden-tests/namespace-alias-3.html @@ -57,8 +57,7 @@

Synopsis

-            namespace A = LongName
-;
+            namespace A = LongName;
         
@@ -79,8 +78,7 @@

Synopsis

-            namespace B = A
-;
+            namespace B = A;
         
diff --git a/test-files/golden-tests/nested-private-template.html b/test-files/golden-tests/nested-private-template.html index f1f5fd62fe..be03af4768 100644 --- a/test-files/golden-tests/nested-private-template.html +++ b/test-files/golden-tests/nested-private-template.html @@ -51,7 +51,7 @@

Synopsis

-            template
+            template<class T>
 class range;
         
@@ -77,7 +77,7 @@

Private Types

- impl + impl<R, false> @@ -107,9 +107,9 @@

Synopsis

-            template<
+            template<
     class R,
-    bool>
+    bool>
 struct impl;
         
@@ -137,8 +137,8 @@

Synopsis

-            template
-struct impl;
+            template<class R>
+struct impl<R, false>;
         
diff --git a/test-files/golden-tests/record-data.html b/test-files/golden-tests/record-data.html index a28d138545..0619a030e7 100644 --- a/test-files/golden-tests/record-data.html +++ b/test-files/golden-tests/record-data.html @@ -558,9 +558,9 @@

Synopsis

-            template<
+            template<
     typename P,
-    int I>
+    int I>
 struct X;
         
diff --git a/test-files/golden-tests/record-inheritance.html b/test-files/golden-tests/record-inheritance.html index a10cfbb406..3b2e2d3c35 100644 --- a/test-files/golden-tests/record-inheritance.html +++ b/test-files/golden-tests/record-inheritance.html @@ -575,7 +575,7 @@

Synopsis

-            template
+            template<typename... Ts>
 struct S6
     : Ts...;
         
diff --git a/test-files/golden-tests/ref.html b/test-files/golden-tests/ref.html index 31117852ba..07b08a9453 100644 --- a/test-files/golden-tests/ref.html +++ b/test-files/golden-tests/ref.html @@ -242,7 +242,7 @@

Synopsis

-            template
+            template<typename>
 struct B;
         
diff --git a/test-files/golden-tests/requires-clause.html b/test-files/golden-tests/requires-clause.html index 0df9c63744..8f62a3c646 100644 --- a/test-files/golden-tests/requires-clause.html +++ b/test-files/golden-tests/requires-clause.html @@ -68,17 +68,17 @@

Members

-
template
+
template<typename T>
 void
-f();
+f() requires (sizeof(T) == 4);
» more...

-
template
+
template<typename T>
 void
-f();
+f() requires (sizeof(T) == 2);
» more... @@ -101,9 +101,9 @@

Synopsis

-            template
+            template<typename T>
 void
-f();
+f() requires (sizeof(T) == 4);
         
@@ -129,9 +129,9 @@

Synopsis

-            template
+            template<typename T>
 void
-f();
+f() requires (sizeof(T) == 2);
         
@@ -148,7 +148,7 @@

Members

-
template requires (sizeof(T) == 4)
+
template<typename T> requires (sizeof(T) == 4)
 void
 g();
» more... @@ -156,7 +156,7 @@

Members

-
template requires (sizeof(U) == 2)
+
template<typename T> requires (sizeof(U) == 2)
 void
 g();
» more... @@ -181,7 +181,7 @@

Synopsis

-            template requires (sizeof(T) == 4)
+            template<typename T> requires (sizeof(T) == 4)
 void
 g();
         
@@ -209,7 +209,7 @@

Synopsis

-            template requires (sizeof(U) == 2)
+            template<typename T> requires (sizeof(U) == 2)
 void
 g();
         
@@ -237,7 +237,7 @@

Synopsis

-            template requires (sizeof(U) == 2)
+            template<typename T> requires (sizeof(U) == 2)
 struct A;
         
diff --git a/test-files/golden-tests/spec-mem-implicit-instantiation.html b/test-files/golden-tests/spec-mem-implicit-instantiation.html index 9512c1456e..7a978d6496 100644 --- a/test-files/golden-tests/spec-mem-implicit-instantiation.html +++ b/test-files/golden-tests/spec-mem-implicit-instantiation.html @@ -58,7 +58,7 @@

Synopsis

-            template
+            template<typename T>
 struct A;
         
@@ -162,7 +162,7 @@

Synopsis

-            template
+            template<typename U>
 struct B;
         
@@ -238,7 +238,7 @@

Synopsis

-            template
+            template<typename U>
 struct C;
         
@@ -362,7 +362,7 @@

Synopsis

-            template
+            template<typename T>
 struct E;
         
diff --git a/test-files/golden-tests/static-data-def.html b/test-files/golden-tests/static-data-def.html index ce80d0a492..4f86dad441 100644 --- a/test-files/golden-tests/static-data-def.html +++ b/test-files/golden-tests/static-data-def.html @@ -79,7 +79,7 @@

Synopsis

-            template
+            template<typename T>
 struct A;
         
diff --git a/test-files/golden-tests/static-data-template.html b/test-files/golden-tests/static-data-template.html index e0c6fe3241..fc663f0712 100644 --- a/test-files/golden-tests/static-data-template.html +++ b/test-files/golden-tests/static-data-template.html @@ -51,7 +51,7 @@

Synopsis

-            template
+            template<typename T>
 struct A;
         
@@ -77,14 +77,14 @@

Static Data Members

- x + x<U*, T> - x + x<T, long> @@ -114,9 +114,9 @@

Synopsis

-            template<
+            template<
     typename U,
-    typename V>
+    typename V>
 constexpr
 static
 T const x = 0;
@@ -142,10 +142,10 @@ 

Synopsis

-            template
+            template<typename U>
 constexpr
 static
-T const x = 1;
+T const x<U*, T> = 1;
         
@@ -168,10 +168,10 @@

Synopsis

-            template<>
+            template<>
 constexpr
 static
-bool const x = 2;
+bool const x<T, long> = 2;
         
diff --git a/test-files/golden-tests/temp/c_mct_expl_inline.html b/test-files/golden-tests/temp/c_mct_expl_inline.html index d375b71168..306689ae25 100644 --- a/test-files/golden-tests/temp/c_mct_expl_inline.html +++ b/test-files/golden-tests/temp/c_mct_expl_inline.html @@ -76,7 +76,7 @@

Types

- B + B<int> @@ -106,7 +106,7 @@

Synopsis

-            template
+            template<typename T>
 struct B;
         
@@ -182,8 +182,8 @@

Synopsis

-            template<>
-struct B;
+            template<>
+struct B<int>;
         
@@ -215,7 +215,7 @@

Member Functions

-

Function A::B::g

+

Function A::B<int>::g

diff --git a/test-files/golden-tests/temp/c_mct_expl_outside.html b/test-files/golden-tests/temp/c_mct_expl_outside.html index fe62776efb..80c832b714 100644 --- a/test-files/golden-tests/temp/c_mct_expl_outside.html +++ b/test-files/golden-tests/temp/c_mct_expl_outside.html @@ -76,7 +76,7 @@

Types

- B + B<int> @@ -106,7 +106,7 @@

Synopsis

-            template
+            template<typename T>
 struct B;
         
@@ -182,8 +182,8 @@

Synopsis

-            template<>
-struct B;
+            template<>
+struct B<int>;
         
@@ -215,7 +215,7 @@

Member Functions

-

Function A::B::g

+

Function A::B<int>::g

diff --git a/test-files/golden-tests/temp/c_mft_expl_inline.html b/test-files/golden-tests/temp/c_mft_expl_inline.html index acf276de7c..0886b44ee0 100644 --- a/test-files/golden-tests/temp/c_mft_expl_inline.html +++ b/test-files/golden-tests/temp/c_mft_expl_inline.html @@ -89,7 +89,7 @@

Members

-
template
+
template<typename T>
 void
 f();
» more... @@ -97,9 +97,9 @@

Members

-
template<>
+
template<>
 void
-f();
+f<int>();
» more... @@ -122,7 +122,7 @@

Synopsis

-            template
+            template<typename T>
 void
 f();
         
@@ -150,9 +150,9 @@

Synopsis

-            template<>
+            template<>
 void
-f();
+f<int>();
         
diff --git a/test-files/golden-tests/temp/c_mft_expl_outside.html b/test-files/golden-tests/temp/c_mft_expl_outside.html index d3f028f793..a96be4d911 100644 --- a/test-files/golden-tests/temp/c_mft_expl_outside.html +++ b/test-files/golden-tests/temp/c_mft_expl_outside.html @@ -89,7 +89,7 @@

Members

-
template
+
template<typename T>
 void
 f();
» more... @@ -97,9 +97,9 @@

Members

-
template<>
+
template<>
 void
-f();
+f<int>();
» more... @@ -122,7 +122,7 @@

Synopsis

-            template
+            template<typename T>
 void
 f();
         
@@ -150,9 +150,9 @@

Synopsis

-            template<>
+            template<>
 void
-f();
+f<int>();
         
diff --git a/test-files/golden-tests/temp/ct_expl.html b/test-files/golden-tests/temp/ct_expl.html index 1c7f1624e1..3c5e40d79f 100644 --- a/test-files/golden-tests/temp/ct_expl.html +++ b/test-files/golden-tests/temp/ct_expl.html @@ -30,7 +30,7 @@

Types

- A + A<int> @@ -58,7 +58,7 @@

Synopsis

-            template
+            template<typename T>
 struct A;
         
@@ -134,8 +134,8 @@

Synopsis

-            template<>
-struct A;
+            template<>
+struct A<int>;
         
@@ -167,7 +167,7 @@

Member Functions

-

Function A::g

+

Function A<int>::g

diff --git a/test-files/golden-tests/temp/ct_mc.html b/test-files/golden-tests/temp/ct_mc.html index ad344cf74a..e87cb5d713 100644 --- a/test-files/golden-tests/temp/ct_mc.html +++ b/test-files/golden-tests/temp/ct_mc.html @@ -51,7 +51,7 @@

Synopsis

-            template
+            template<typename T>
 struct A;
         
diff --git a/test-files/golden-tests/temp/ct_mc_expl_outside.html b/test-files/golden-tests/temp/ct_mc_expl_outside.html index 8836cf7f8d..8a04a83d54 100644 --- a/test-files/golden-tests/temp/ct_mc_expl_outside.html +++ b/test-files/golden-tests/temp/ct_mc_expl_outside.html @@ -51,7 +51,7 @@

Synopsis

-            template
+            template<typename T>
 struct A;
         
diff --git a/test-files/golden-tests/temp/ct_mct.html b/test-files/golden-tests/temp/ct_mct.html index 9f219a763d..47ccfd427f 100644 --- a/test-files/golden-tests/temp/ct_mct.html +++ b/test-files/golden-tests/temp/ct_mct.html @@ -51,7 +51,7 @@

Synopsis

-            template
+            template<typename T>
 struct A;
         
@@ -100,7 +100,7 @@

Synopsis

-            template
+            template<typename U>
 struct B;
         
diff --git a/test-files/golden-tests/temp/ct_mct_expl_inline.html b/test-files/golden-tests/temp/ct_mct_expl_inline.html index 645a27a605..696090c1d3 100644 --- a/test-files/golden-tests/temp/ct_mct_expl_inline.html +++ b/test-files/golden-tests/temp/ct_mct_expl_inline.html @@ -51,7 +51,7 @@

Synopsis

-            template
+            template<typename T>
 struct A;
         
@@ -77,7 +77,7 @@

Types

- B + B<int> @@ -107,7 +107,7 @@

Synopsis

-            template
+            template<typename U>
 struct B;
         
@@ -183,8 +183,8 @@

Synopsis

-            template<>
-struct B;
+            template<>
+struct B<int>;
         
@@ -216,7 +216,7 @@

Member Functions

-

Function A::B::g

+

Function A::B<int>::g

diff --git a/test-files/golden-tests/temp/ct_mct_expl_outside.html b/test-files/golden-tests/temp/ct_mct_expl_outside.html index 414a87e260..3198b46508 100644 --- a/test-files/golden-tests/temp/ct_mct_expl_outside.html +++ b/test-files/golden-tests/temp/ct_mct_expl_outside.html @@ -51,7 +51,7 @@

Synopsis

-            template
+            template<typename T>
 struct A;
         
@@ -100,7 +100,7 @@

Synopsis

-            template
+            template<typename U>
 struct B;
         
diff --git a/test-files/golden-tests/temp/ct_mf.html b/test-files/golden-tests/temp/ct_mf.html index 42a79c564c..e4a7c6114f 100644 --- a/test-files/golden-tests/temp/ct_mf.html +++ b/test-files/golden-tests/temp/ct_mf.html @@ -51,7 +51,7 @@

Synopsis

-            template
+            template<typename T>
 struct A;
         
diff --git a/test-files/golden-tests/temp/ct_mf_expl_outside.html b/test-files/golden-tests/temp/ct_mf_expl_outside.html index 019d157f7f..44f753621b 100644 --- a/test-files/golden-tests/temp/ct_mf_expl_outside.html +++ b/test-files/golden-tests/temp/ct_mf_expl_outside.html @@ -51,7 +51,7 @@

Synopsis

-            template
+            template<typename T>
 struct A;
         
diff --git a/test-files/golden-tests/temp/ct_mft.html b/test-files/golden-tests/temp/ct_mft.html index 5198cb1e76..b72b6168ca 100644 --- a/test-files/golden-tests/temp/ct_mft.html +++ b/test-files/golden-tests/temp/ct_mft.html @@ -51,7 +51,7 @@

Synopsis

-            template
+            template<typename T>
 struct A;
         
@@ -100,7 +100,7 @@

Synopsis

-            template
+            template<typename U>
 void
 f();
         
diff --git a/test-files/golden-tests/temp/ct_mft_expl_inline.html b/test-files/golden-tests/temp/ct_mft_expl_inline.html index 16907dc1be..c9ec09262c 100644 --- a/test-files/golden-tests/temp/ct_mft_expl_inline.html +++ b/test-files/golden-tests/temp/ct_mft_expl_inline.html @@ -51,7 +51,7 @@

Synopsis

-            template
+            template<typename T>
 struct A;
         
@@ -90,7 +90,7 @@

Members

-
template
+
template<typename U>
 void
 f();
» more... @@ -98,9 +98,9 @@

Members

-
template<>
+
template<>
 void
-f();
+f<int>();
» more... @@ -123,7 +123,7 @@

Synopsis

-            template
+            template<typename U>
 void
 f();
         
@@ -151,9 +151,9 @@

Synopsis

-            template<>
+            template<>
 void
-f();
+f<int>();
         
diff --git a/test-files/golden-tests/temp/ct_mft_expl_outside.html b/test-files/golden-tests/temp/ct_mft_expl_outside.html index 4021473329..abe981655f 100644 --- a/test-files/golden-tests/temp/ct_mft_expl_outside.html +++ b/test-files/golden-tests/temp/ct_mft_expl_outside.html @@ -51,7 +51,7 @@

Synopsis

-            template
+            template<typename T>
 struct A;
         
@@ -100,7 +100,7 @@

Synopsis

-            template
+            template<typename U>
 void
 f();
         
diff --git a/test-files/golden-tests/temp/ft_expl.html b/test-files/golden-tests/temp/ft_expl.html index 446c4bb448..5d98501ec4 100644 --- a/test-files/golden-tests/temp/ft_expl.html +++ b/test-files/golden-tests/temp/ft_expl.html @@ -41,7 +41,7 @@

Members

-
template
+
template<typename T>
 void
 f();
» more... @@ -49,9 +49,9 @@

Members

-
template<>
+
template<>
 void
-f();
+f<int>();
» more... @@ -74,7 +74,7 @@

Synopsis

-            template
+            template<typename T>
 void
 f();
         
@@ -102,9 +102,9 @@

Synopsis

-            template<>
+            template<>
 void
-f();
+f<int>();
         
diff --git a/test-files/golden-tests/type-resolution.html b/test-files/golden-tests/type-resolution.html index 711614d63a..6965ac6a32 100644 --- a/test-files/golden-tests/type-resolution.html +++ b/test-files/golden-tests/type-resolution.html @@ -435,9 +435,9 @@

Synopsis

-            template<
+            template<
     typename T,
-    typename U>
+    typename U>
 struct B;
         
@@ -488,7 +488,7 @@

Synopsis

-            using D = B;
+            using D = B<short, long>;
         
@@ -511,8 +511,8 @@

Synopsis

-            template
-using E = B;
+            template<typename T>
+using E = B<T, long>;
         
@@ -1022,7 +1022,7 @@

Synopsis

             void
-h0(B);
+h0(B<short, long>);
         
@@ -1049,7 +1049,7 @@

Synopsis

             void
-h1(B const);
+h1(B<short, long> const);
         
@@ -1076,7 +1076,7 @@

Synopsis

             void
-h2(B&);
+h2(B<short, long>&);
         
@@ -1103,7 +1103,7 @@

Synopsis

             void
-h3(B const&);
+h3(B<short, long> const&);
         
@@ -1130,7 +1130,7 @@

Synopsis

             void
-h4(B*);
+h4(B<short, long>*);
         
@@ -1157,7 +1157,7 @@

Synopsis

             void
-h5(B const*);
+h5(B<short, long> const*);
         
@@ -1184,7 +1184,7 @@

Synopsis

             void
-h6(B**);
+h6(B<short, long>**);
         
@@ -1211,7 +1211,7 @@

Synopsis

             void
-h7(B const**);
+h7(B<short, long> const**);
         
@@ -1238,7 +1238,7 @@

Synopsis

             void
-h8(B const const**);
+h8(B<short, long> const const**);
         
@@ -1508,7 +1508,7 @@

Synopsis

             void
-j0(E);
+j0(E<short>);
         
@@ -1535,7 +1535,7 @@

Synopsis

             void
-j1(E const);
+j1(E<short> const);
         
@@ -1562,7 +1562,7 @@

Synopsis

             void
-j2(E&);
+j2(E<short>&);
         
@@ -1589,7 +1589,7 @@

Synopsis

             void
-j3(E const&);
+j3(E<short> const&);
         
@@ -1616,7 +1616,7 @@

Synopsis

             void
-j4(E*);
+j4(E<short>*);
         
@@ -1643,7 +1643,7 @@

Synopsis

             void
-j5(E const*);
+j5(E<short> const*);
         
@@ -1670,7 +1670,7 @@

Synopsis

             void
-j6(E**);
+j6(E<short>**);
         
@@ -1697,7 +1697,7 @@

Synopsis

             void
-j7(E const**);
+j7(E<short> const**);
         
@@ -1724,7 +1724,7 @@

Synopsis

             void
-j8(E const const**);
+j8(E<short> const const**);
         
diff --git a/test-files/golden-tests/using-2.html b/test-files/golden-tests/using-2.html index 2757922704..5d01a6fe6d 100644 --- a/test-files/golden-tests/using-2.html +++ b/test-files/golden-tests/using-2.html @@ -140,8 +140,7 @@

Synopsis

-            using LongName::S1
-;
+            using LongName::S1;
         
@@ -177,8 +176,7 @@

Synopsis

-            using LongName::S2
-;
+            using LongName::S2;
         
diff --git a/test-files/golden-tests/using-3.html b/test-files/golden-tests/using-3.html index 7c832daff3..6588926612 100644 --- a/test-files/golden-tests/using-3.html +++ b/test-files/golden-tests/using-3.html @@ -292,8 +292,7 @@

Synopsis

-            using A::f
-;
+            using A::f;
         
@@ -329,8 +328,7 @@

Synopsis

-            using B::f
-;
+            using B::f;
         
diff --git a/test-files/golden-tests/var-template.html b/test-files/golden-tests/var-template.html index c0b912f162..c955d061dd 100644 --- a/test-files/golden-tests/var-template.html +++ b/test-files/golden-tests/var-template.html @@ -51,14 +51,14 @@

Variables

- A + A<void> - A + A<T&> @@ -86,7 +86,7 @@

Synopsis

-            template
+            template<typename T>
 unsigned int A = sizeof(T);
         
@@ -110,8 +110,8 @@

Synopsis

-            template<>
-unsigned int A = 0;
+            template<>
+unsigned int A<void> = 0;
         
@@ -134,8 +134,8 @@

Synopsis

-            template
-unsigned int A = sizeof(T);
+            template<typename T>
+unsigned int A<T&> = sizeof(T);
         
@@ -183,14 +183,14 @@

Static Data Members

- C + C<int> - C + C<T*> @@ -220,7 +220,7 @@

Synopsis

-            template
+            template<typename T>
 static
 unsigned int C = 0;
         
@@ -245,9 +245,9 @@

Synopsis

-            template<>
+            template<>
 static
-unsigned int C = -1;
+unsigned int C<int> = -1;
         
@@ -270,9 +270,9 @@

Synopsis

-            template
+            template<typename T>
 static
-unsigned int C = sizeof(T);
+unsigned int C<T*> = sizeof(T);
         
diff --git a/test-files/golden-tests/variadic-function.html b/test-files/golden-tests/variadic-function.html index 1f3706b0c6..56787613cd 100644 --- a/test-files/golden-tests/variadic-function.html +++ b/test-files/golden-tests/variadic-function.html @@ -140,7 +140,7 @@

Synopsis

             void
-f();
+f(...);
         
@@ -167,7 +167,7 @@

Synopsis

             void
-g(int);
+g(int, ...);
         
@@ -193,9 +193,9 @@

Synopsis

-            template<
+            template<
     typename A = void(...),
-    typename B = void(int, ...)>
+    typename B = void(int, ...)>
 struct C;