diff --git a/docs/modules/ROOT/pages/generators.adoc b/docs/modules/ROOT/pages/generators.adoc index 23521280d..7b6bccf2b 100644 --- a/docs/modules/ROOT/pages/generators.adoc +++ b/docs/modules/ROOT/pages/generators.adoc @@ -258,6 +258,10 @@ When the symbol kind is `record` (e.g., `class`, `struct`, `union`), the symbol | `string` | The default access level of the record members (e.g., `public`, `private`). +| `isFinal` +| `bool` +| Whether the record is final. + | `isTypedef` | `bool` | Whether the record is a typedef. diff --git a/include/mrdocs/Metadata/Info/Record.hpp b/include/mrdocs/Metadata/Info/Record.hpp index 0b5e750a1..1807183ae 100644 --- a/include/mrdocs/Metadata/Info/Record.hpp +++ b/include/mrdocs/Metadata/Info/Record.hpp @@ -353,6 +353,7 @@ tag_invoke( tag_invoke(t, io, dynamic_cast(I), domCorpus); io.map("tag", I.KeyKind); io.map("defaultAccess", getDefaultAccessString(I.KeyKind)); + io.map("isFinal", I.IsFinal); io.map("isTypedef", I.IsTypeDef); io.map("bases", dom::LazyArray(I.Bases, domCorpus)); io.map("derived", dom::LazyArray(I.Derived, domCorpus)); diff --git a/share/mrdocs/addons/generator/common/partials/symbol/signature/record.hbs b/share/mrdocs/addons/generator/common/partials/symbol/signature/record.hbs index 78f1767b8..7d5bcbf83 100644 --- a/share/mrdocs/addons/generator/common/partials/symbol/signature/record.hbs +++ b/share/mrdocs/addons/generator/common/partials/symbol/signature/record.hbs @@ -6,6 +6,7 @@ {{~else~}} {{>symbol/name-text symbol ~}} {{~/if}} +{{~#if isFinal}} final{{/if~}} {{#unless bases~}} {{else if isFriend~}} {{else}} @@ -17,4 +18,11 @@ {{#unless (eq access ../defaultAccess)}} {{access}}{{/unless~}} {{#if isVirtual}} virtual{{/if}} {{>type/declarator type~}} {{/each~}} -{{/unless}}{{#isSeeBelow}} { /* see-below */ }{{/isSeeBelow}}; \ No newline at end of file +{{/unless}} +{{!-- Unless we are going to show a class body ("{ ... }"), don't add a + semicolon if the record is final, because something like `class A + final;` is ill-formed (`final` can't be used on a non-defining + declaration). Similarly, don't show a semicolon if there are base + classes. --}} +{{~#isSeeBelow}} { /* see-below */ }{{/isSeeBelow~}} +{{#if (or isSeeBelow (and (not isFinal) (eq (len bases) 0)))}};{{/if}} \ No newline at end of file diff --git a/test-files/golden-tests/config/auto-relates/derived.adoc b/test-files/golden-tests/config/auto-relates/derived.adoc index 3b97e51f7..b1a101fc8 100644 --- a/test-files/golden-tests/config/auto-relates/derived.adoc +++ b/test-files/golden-tests/config/auto-relates/derived.adoc @@ -52,7 +52,7 @@ Declared in `<derived.cpp>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct A - : link:#ABase[ABase]; + : link:#ABase[ABase] ---- === Base Classes @@ -141,7 +141,7 @@ Declared in `<derived.cpp>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct AView - : link:#ABase[ABase]; + : link:#ABase[ABase] ---- === Base Classes @@ -194,7 +194,7 @@ Declared in `<derived.cpp>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct AView2 - : link:#AView[AView]; + : link:#AView[AView] ---- === Base Classes diff --git a/test-files/golden-tests/config/auto-relates/derived.html b/test-files/golden-tests/config/auto-relates/derived.html index 89bc6e9cd..d4789cb95 100644 --- a/test-files/golden-tests/config/auto-relates/derived.html +++ b/test-files/golden-tests/config/auto-relates/derived.html @@ -60,7 +60,7 @@

Synopsis

Declared in <derived.cpp>
 struct A
-    : ABase;
+    : ABase
 
 
 
@@ -171,7 +171,7 @@

Synopsis

Declared in <derived.cpp>
 struct AView
-    : ABase;
+    : ABase
 
 
 
@@ -240,7 +240,7 @@

Synopsis

Declared in <derived.cpp>
 struct AView2
-    : AView;
+    : AView
 
 
 
diff --git a/test-files/golden-tests/config/extract-implicit-specializations/base.adoc b/test-files/golden-tests/config/extract-implicit-specializations/base.adoc index bd99bfc4e..c497efcfc 100644 --- a/test-files/golden-tests/config/extract-implicit-specializations/base.adoc +++ b/test-files/golden-tests/config/extract-implicit-specializations/base.adoc @@ -23,7 +23,7 @@ Declared in `<base.cpp>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct A - : link:#B[B]; + : link:#B[B] ---- === Base Classes diff --git a/test-files/golden-tests/config/extract-implicit-specializations/base.html b/test-files/golden-tests/config/extract-implicit-specializations/base.html index 5c3c849da..5e2905ddd 100644 --- a/test-files/golden-tests/config/extract-implicit-specializations/base.html +++ b/test-files/golden-tests/config/extract-implicit-specializations/base.html @@ -34,7 +34,7 @@

Synopsis

Declared in <base.cpp>
 struct A
-    : B;
+    : B
 
 
 
diff --git a/test-files/golden-tests/config/extract-implicit-specializations/extract-implicit-specializations.adoc b/test-files/golden-tests/config/extract-implicit-specializations/extract-implicit-specializations.adoc index 79bc4cc9c..bd41f32de 100644 --- a/test-files/golden-tests/config/extract-implicit-specializations/extract-implicit-specializations.adoc +++ b/test-files/golden-tests/config/extract-implicit-specializations/extract-implicit-specializations.adoc @@ -23,7 +23,7 @@ Declared in `<extract‐implicit‐specializations.cpp>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct A - : link:#B-00[B<int>]; + : link:#B-00[B<int>] ---- === Base Classes diff --git a/test-files/golden-tests/config/extract-implicit-specializations/extract-implicit-specializations.html b/test-files/golden-tests/config/extract-implicit-specializations/extract-implicit-specializations.html index b69674915..ad404c9c2 100644 --- a/test-files/golden-tests/config/extract-implicit-specializations/extract-implicit-specializations.html +++ b/test-files/golden-tests/config/extract-implicit-specializations/extract-implicit-specializations.html @@ -34,7 +34,7 @@

Synopsis

Declared in <extract-implicit-specializations.cpp>
 struct A
-    : B<int>;
+    : B<int>
 
 
 
diff --git a/test-files/golden-tests/config/extract-implicit-specializations/no-extract-implicit-specializations.adoc b/test-files/golden-tests/config/extract-implicit-specializations/no-extract-implicit-specializations.adoc index 0a2766cb0..65428e617 100644 --- a/test-files/golden-tests/config/extract-implicit-specializations/no-extract-implicit-specializations.adoc +++ b/test-files/golden-tests/config/extract-implicit-specializations/no-extract-implicit-specializations.adoc @@ -23,7 +23,7 @@ Declared in `<no‐extract‐implicit‐specializations&period [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct A - : link:#B[B<int>]; + : link:#B[B<int>] ---- === Base Classes diff --git a/test-files/golden-tests/config/extract-implicit-specializations/no-extract-implicit-specializations.html b/test-files/golden-tests/config/extract-implicit-specializations/no-extract-implicit-specializations.html index 346cd7273..59225a6f8 100644 --- a/test-files/golden-tests/config/extract-implicit-specializations/no-extract-implicit-specializations.html +++ b/test-files/golden-tests/config/extract-implicit-specializations/no-extract-implicit-specializations.html @@ -34,7 +34,7 @@

Synopsis

Declared in <no-extract-implicit-specializations.cpp>
 struct A
-    : B<int>;
+    : B<int>
 
 
 
diff --git a/test-files/golden-tests/config/inherit-base-members/base-overload-set.adoc b/test-files/golden-tests/config/inherit-base-members/base-overload-set.adoc index 276bec401..2d333005a 100644 --- a/test-files/golden-tests/config/inherit-base-members/base-overload-set.adoc +++ b/test-files/golden-tests/config/inherit-base-members/base-overload-set.adoc @@ -24,7 +24,7 @@ Declared in `<base‐overload‐set.cpp>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class Base - : public link:#ConstBase[ConstBase]; + : public link:#ConstBase[ConstBase] ---- === Base Classes @@ -118,7 +118,7 @@ Declared in `<base‐overload‐set.cpp>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class C - : public link:#Base[Base]; + : public link:#Base[Base] ---- === Base Classes diff --git a/test-files/golden-tests/config/inherit-base-members/base-overload-set.html b/test-files/golden-tests/config/inherit-base-members/base-overload-set.html index bff3e5af7..b03a96e25 100644 --- a/test-files/golden-tests/config/inherit-base-members/base-overload-set.html +++ b/test-files/golden-tests/config/inherit-base-members/base-overload-set.html @@ -35,7 +35,7 @@

Synopsis

Declared in <base-overload-set.cpp>
 class Base
-    : public ConstBase;
+    : public ConstBase
 
 
 
@@ -155,7 +155,7 @@

Synopsis

Declared in <base-overload-set.cpp>
 class C
-    : public Base;
+    : public Base
 
 
 
diff --git a/test-files/golden-tests/config/inherit-base-members/copy-dependencies.adoc b/test-files/golden-tests/config/inherit-base-members/copy-dependencies.adoc index a2a998907..b4a99222e 100644 --- a/test-files/golden-tests/config/inherit-base-members/copy-dependencies.adoc +++ b/test-files/golden-tests/config/inherit-base-members/copy-dependencies.adoc @@ -34,7 +34,7 @@ Declared in `<copy‐dependencies.cpp>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class base - : public link:#base_base[base_base]; + : public link:#base_base[base_base] ---- === Base Classes @@ -290,7 +290,7 @@ Declared in `<copy‐dependencies.cpp>` ---- class derived : public link:#base[base] - , public excluded_base; + , public excluded_base ---- === Base Classes @@ -441,7 +441,7 @@ Declared in `<copy‐dependencies.cpp>` ---- class private_derived : link:#base[base] - , excluded_base; + , excluded_base ---- === Member Functions @@ -507,7 +507,7 @@ Declared in `<copy‐dependencies.cpp>` ---- class protected_derived : protected link:#base[base] - , protected excluded_base; + , protected excluded_base ---- === Member Functions diff --git a/test-files/golden-tests/config/inherit-base-members/copy-dependencies.html b/test-files/golden-tests/config/inherit-base-members/copy-dependencies.html index 3e17b330e..b994c8ed8 100644 --- a/test-files/golden-tests/config/inherit-base-members/copy-dependencies.html +++ b/test-files/golden-tests/config/inherit-base-members/copy-dependencies.html @@ -42,7 +42,7 @@

Synopsis

Declared in <copy-dependencies.cpp>
 class base
-    : public base_base;
+    : public base_base
 
 
 
@@ -371,7 +371,7 @@

Synopsis

 class derived
     : public base
-    , public excluded_base;
+    , public excluded_base
 
 
 
@@ -555,7 +555,7 @@

Synopsis

 class private_derived
     : base
-    , excluded_base;
+    , excluded_base
 
 
 
@@ -641,7 +641,7 @@

Synopsis

 class protected_derived
     : protected base
-    , protected excluded_base;
+    , protected excluded_base
 
 
 
diff --git a/test-files/golden-tests/config/inherit-base-members/copy.adoc b/test-files/golden-tests/config/inherit-base-members/copy.adoc index 2a8ce7327..6579a463f 100644 --- a/test-files/golden-tests/config/inherit-base-members/copy.adoc +++ b/test-files/golden-tests/config/inherit-base-members/copy.adoc @@ -34,7 +34,7 @@ Declared in `<copy.cpp>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class base - : public link:#base_base[base_base]; + : public link:#base_base[base_base] ---- === Base Classes @@ -328,7 +328,7 @@ Declared in `<copy.cpp>` ---- class derived : public link:#base[base] - , public excluded_base; + , public excluded_base ---- === Base Classes @@ -612,7 +612,7 @@ Declared in `<copy.cpp>` ---- class private_derived : link:#base[base] - , excluded_base; + , excluded_base ---- === Member Functions @@ -678,7 +678,7 @@ Declared in `<copy.cpp>` ---- class protected_derived : protected link:#base[base] - , protected excluded_base; + , protected excluded_base ---- === Member Functions diff --git a/test-files/golden-tests/config/inherit-base-members/copy.html b/test-files/golden-tests/config/inherit-base-members/copy.html index 0964ec2a1..c99bae6be 100644 --- a/test-files/golden-tests/config/inherit-base-members/copy.html +++ b/test-files/golden-tests/config/inherit-base-members/copy.html @@ -42,7 +42,7 @@

Synopsis

Declared in <copy.cpp>
 class base
-    : public base_base;
+    : public base_base
 
 
 
@@ -419,7 +419,7 @@

Synopsis

 class derived
     : public base
-    , public excluded_base;
+    , public excluded_base
 
 
 
@@ -771,7 +771,7 @@

Synopsis

 class private_derived
     : base
-    , excluded_base;
+    , excluded_base
 
 
 
@@ -857,7 +857,7 @@

Synopsis

 class protected_derived
     : protected base
-    , protected excluded_base;
+    , protected excluded_base
 
 
 
diff --git a/test-files/golden-tests/config/inherit-base-members/never.adoc b/test-files/golden-tests/config/inherit-base-members/never.adoc index d76534f02..249e287a5 100644 --- a/test-files/golden-tests/config/inherit-base-members/never.adoc +++ b/test-files/golden-tests/config/inherit-base-members/never.adoc @@ -34,7 +34,7 @@ Declared in `<never.cpp>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class base - : public link:#base_base[base_base]; + : public link:#base_base[base_base] ---- === Base Classes @@ -286,7 +286,7 @@ Declared in `<never.cpp>` ---- class derived : public link:#base[base] - , public excluded_base; + , public excluded_base ---- === Base Classes @@ -364,7 +364,7 @@ Declared in `<never.cpp>` ---- class private_derived : link:#base[base] - , excluded_base; + , excluded_base ---- === Member Functions @@ -430,7 +430,7 @@ Declared in `<never.cpp>` ---- class protected_derived : protected link:#base[base] - , protected excluded_base; + , protected excluded_base ---- === Member Functions diff --git a/test-files/golden-tests/config/inherit-base-members/never.html b/test-files/golden-tests/config/inherit-base-members/never.html index 24d78d4e0..dbeb3f0ae 100644 --- a/test-files/golden-tests/config/inherit-base-members/never.html +++ b/test-files/golden-tests/config/inherit-base-members/never.html @@ -42,7 +42,7 @@

Synopsis

Declared in <never.cpp>
 class base
-    : public base_base;
+    : public base_base
 
 
 
@@ -369,7 +369,7 @@

Synopsis

 class derived
     : public base
-    , public excluded_base;
+    , public excluded_base
 
 
 
@@ -470,7 +470,7 @@

Synopsis

 class private_derived
     : base
-    , excluded_base;
+    , excluded_base
 
 
 
@@ -556,7 +556,7 @@

Synopsis

 class protected_derived
     : protected base
-    , protected excluded_base;
+    , protected excluded_base
 
 
 
diff --git a/test-files/golden-tests/config/inherit-base-members/reference.adoc b/test-files/golden-tests/config/inherit-base-members/reference.adoc index 8c9414db9..39c5683ca 100644 --- a/test-files/golden-tests/config/inherit-base-members/reference.adoc +++ b/test-files/golden-tests/config/inherit-base-members/reference.adoc @@ -34,7 +34,7 @@ Declared in `<reference.cpp>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class base - : public link:#base_base[base_base]; + : public link:#base_base[base_base] ---- === Base Classes @@ -290,7 +290,7 @@ Declared in `<reference.cpp>` ---- class derived : public link:#base[base] - , public excluded_base; + , public excluded_base ---- === Base Classes @@ -390,7 +390,7 @@ Declared in `<reference.cpp>` ---- class private_derived : link:#base[base] - , excluded_base; + , excluded_base ---- === Member Functions @@ -456,7 +456,7 @@ Declared in `<reference.cpp>` ---- class protected_derived : protected link:#base[base] - , protected excluded_base; + , protected excluded_base ---- === Member Functions diff --git a/test-files/golden-tests/config/inherit-base-members/reference.html b/test-files/golden-tests/config/inherit-base-members/reference.html index d76da0b85..99434e36b 100644 --- a/test-files/golden-tests/config/inherit-base-members/reference.html +++ b/test-files/golden-tests/config/inherit-base-members/reference.html @@ -42,7 +42,7 @@

Synopsis

Declared in <reference.cpp>
 class base
-    : public base_base;
+    : public base_base
 
 
 
@@ -371,7 +371,7 @@

Synopsis

 class derived
     : public base
-    , public excluded_base;
+    , public excluded_base
 
 
 
@@ -492,7 +492,7 @@

Synopsis

 class private_derived
     : base
-    , excluded_base;
+    , excluded_base
 
 
 
@@ -578,7 +578,7 @@

Synopsis

 class protected_derived
     : protected base
-    , protected excluded_base;
+    , protected excluded_base
 
 
 
diff --git a/test-files/golden-tests/config/inherit-base-members/skip-special.adoc b/test-files/golden-tests/config/inherit-base-members/skip-special.adoc index cc16d9f09..7f42a5f5b 100644 --- a/test-files/golden-tests/config/inherit-base-members/skip-special.adoc +++ b/test-files/golden-tests/config/inherit-base-members/skip-special.adoc @@ -32,7 +32,7 @@ Declared in `<skip‐special.cpp>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class base - : public link:#base_base[base_base]; + : public link:#base_base[base_base] ---- === Base Classes @@ -316,7 +316,7 @@ Declared in `<skip‐special.cpp>` ---- class derived : public link:#base[base] - , public excluded_base; + , public excluded_base ---- === Base Classes @@ -489,7 +489,7 @@ Declared in `<skip‐special.cpp>` ---- class private_derived : link:#base[base] - , excluded_base; + , excluded_base ---- === Member Functions @@ -579,7 +579,7 @@ Declared in `<skip‐special.cpp>` ---- class protected_derived : protected link:#base[base] - , protected excluded_base; + , protected excluded_base ---- === Member Functions diff --git a/test-files/golden-tests/config/inherit-base-members/skip-special.html b/test-files/golden-tests/config/inherit-base-members/skip-special.html index d22fbe357..81b5740c0 100644 --- a/test-files/golden-tests/config/inherit-base-members/skip-special.html +++ b/test-files/golden-tests/config/inherit-base-members/skip-special.html @@ -38,7 +38,7 @@

Synopsis

Declared in <skip-special.cpp>
 class base
-    : public base_base;
+    : public base_base
 
 
 
@@ -407,7 +407,7 @@

Synopsis

 class derived
     : public base
-    , public excluded_base;
+    , public excluded_base
 
 
 
@@ -619,7 +619,7 @@

Synopsis

 class private_derived
     : base
-    , excluded_base;
+    , excluded_base
 
 
 
@@ -737,7 +737,7 @@

Synopsis

 class protected_derived
     : protected base
-    , protected excluded_base;
+    , protected excluded_base
 
 
 
diff --git a/test-files/golden-tests/filters/symbol-name/excluded-base-class.adoc b/test-files/golden-tests/filters/symbol-name/excluded-base-class.adoc index f9ce4fa28..275311b63 100644 --- a/test-files/golden-tests/filters/symbol-name/excluded-base-class.adoc +++ b/test-files/golden-tests/filters/symbol-name/excluded-base-class.adoc @@ -34,7 +34,7 @@ Declared in `<excluded‐base‐class.cpp>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class D - : public B::C; + : public B::C ---- === Base Classes @@ -122,7 +122,7 @@ Declared in `<excluded‐base‐class.cpp>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class E - : public B::C; + : public B::C ---- === Base Classes diff --git a/test-files/golden-tests/filters/symbol-name/excluded-base-class.html b/test-files/golden-tests/filters/symbol-name/excluded-base-class.html index 53b35fe92..0157aa71a 100644 --- a/test-files/golden-tests/filters/symbol-name/excluded-base-class.html +++ b/test-files/golden-tests/filters/symbol-name/excluded-base-class.html @@ -52,7 +52,7 @@

Synopsis

Declared in <excluded-base-class.cpp>
 class D
-    : public B::C;
+    : public B::C
 
 
 
@@ -166,7 +166,7 @@

Synopsis

Declared in <excluded-base-class.cpp>
 class E
-    : public B::C;
+    : public B::C
 
 
 
diff --git a/test-files/golden-tests/javadoc/ref/ref.adoc b/test-files/golden-tests/javadoc/ref/ref.adoc index 31679c571..0191e35d2 100644 --- a/test-files/golden-tests/javadoc/ref/ref.adoc +++ b/test-files/golden-tests/javadoc/ref/ref.adoc @@ -170,7 +170,7 @@ Declared in `<ref.cpp>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct D - : link:#A-C[C]; + : link:#A-C[C] ---- === Base Classes diff --git a/test-files/golden-tests/javadoc/ref/ref.html b/test-files/golden-tests/javadoc/ref/ref.html index 94964a5c9..115aefdcf 100644 --- a/test-files/golden-tests/javadoc/ref/ref.html +++ b/test-files/golden-tests/javadoc/ref/ref.html @@ -231,7 +231,7 @@

Synopsis

Declared in <ref.cpp>
 struct D
-    : C;
+    : C
 
 
 
diff --git a/test-files/golden-tests/symbols/function/mem-fn.adoc b/test-files/golden-tests/symbols/function/mem-fn.adoc index 68d48c55a..de2cc298d 100644 --- a/test-files/golden-tests/symbols/function/mem-fn.adoc +++ b/test-files/golden-tests/symbols/function/mem-fn.adoc @@ -549,7 +549,7 @@ Declared in `<mem‐fn.cpp>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct T17 - : link:#T14[T14]; + : link:#T14[T14] ---- === Base Classes @@ -676,7 +676,7 @@ Declared in `<mem‐fn.cpp>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct V - : link:#U[U]; + : link:#U[U] ---- === Base Classes diff --git a/test-files/golden-tests/symbols/function/mem-fn.html b/test-files/golden-tests/symbols/function/mem-fn.html index 9d9915915..1ccb3b64e 100644 --- a/test-files/golden-tests/symbols/function/mem-fn.html +++ b/test-files/golden-tests/symbols/function/mem-fn.html @@ -760,7 +760,7 @@

Synopsis

Declared in <mem-fn.cpp>
 struct T17
-    : T14;
+    : T14
 
 
 
@@ -933,7 +933,7 @@

Synopsis

Declared in <mem-fn.cpp>
 struct V
-    : U;
+    : U
 
 
 
diff --git a/test-files/golden-tests/symbols/record/class-template-specializations-1.adoc b/test-files/golden-tests/symbols/record/class-template-specializations-1.adoc index b44b45eb6..6e5936647 100644 --- a/test-files/golden-tests/symbols/record/class-template-specializations-1.adoc +++ b/test-files/golden-tests/symbols/record/class-template-specializations-1.adoc @@ -112,7 +112,7 @@ Declared in `<class‐template‐specializations‐1.cp [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct R0 - : link:#S0-0cf[S0<‐1>]; + : link:#S0-0cf[S0<‐1>] ---- === Base Classes @@ -152,7 +152,7 @@ Declared in `<class‐template‐specializations‐1.cp [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct R1 - : link:#S0-0be[S0<0>]; + : link:#S0-0be[S0<0>] ---- === Base Classes @@ -175,7 +175,7 @@ Declared in `<class‐template‐specializations‐1.cp [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct R10 - : link:#S0-08-S1-S2-08-S4[S0<10>::S1::S2<11>::S4<‐1>]; + : link:#S0-08-S1-S2-08-S4[S0<10>::S1::S2<11>::S4<‐1>] ---- === Base Classes @@ -198,7 +198,7 @@ Declared in `<class‐template‐specializations‐1.cp [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct R11 - : link:#S0-0e-S1-S2-02-S4-0c[S0<12>::S1::S2<13>::S4<14>]; + : link:#S0-0e-S1-S2-02-S4-0c[S0<12>::S1::S2<13>::S4<14>] ---- === Base Classes @@ -221,7 +221,7 @@ Declared in `<class‐template‐specializations‐1.cp [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct R12 - : link:#S0-09e4-S1-S2-02-S4-00[S0<15>::S1::S2<16>::S4<17, void*>]; + : link:#S0-09e4-S1-S2-02-S4-00[S0<15>::S1::S2<16>::S4<17, void*>] ---- === Base Classes @@ -244,7 +244,7 @@ Declared in `<class‐template‐specializations‐1.cp [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct R13 - : link:#S0-09e4-S1-S2-02-S4-02[S0<15>::S1::S2<16>::S4<17, int*>]; + : link:#S0-09e4-S1-S2-02-S4-02[S0<15>::S1::S2<16>::S4<17, int*>] ---- === Base Classes @@ -267,7 +267,7 @@ Declared in `<class‐template‐specializations‐1.cp [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct R14 - : link:#S0-07a-S5[S0<18>::S5<‐1>]; + : link:#S0-07a-S5[S0<18>::S5<‐1>] ---- === Base Classes @@ -290,7 +290,7 @@ Declared in `<class‐template‐specializations‐1.cp [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct R15 - : link:#S0-0a7-S5-07[S0<19>::S5<20>]; + : link:#S0-0a7-S5-07[S0<19>::S5<20>] ---- === Base Classes @@ -313,7 +313,7 @@ Declared in `<class‐template‐specializations‐1.cp [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct R16 - : link:#S0-0314-S5-07[S0<21>::S5<22, void*>]; + : link:#S0-0314-S5-07[S0<21>::S5<22, void*>] ---- === Base Classes @@ -336,7 +336,7 @@ Declared in `<class‐template‐specializations‐1.cp [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct R17 - : link:#S0-0314-S5-03[S0<21>::S5<22, int*>]; + : link:#S0-0314-S5-03[S0<21>::S5<22, int*>] ---- === Base Classes @@ -359,7 +359,7 @@ Declared in `<class‐template‐specializations‐1.cp [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct R18 - : link:#S0-058-S5-09-S6[S0<23>::S5<24>::S6]; + : link:#S0-058-S5-09-S6[S0<23>::S5<24>::S6] ---- === Base Classes @@ -382,7 +382,7 @@ Declared in `<class‐template‐specializations‐1.cp [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct R19 - : link:#S0-0a2-S5-02-S6-S7[S0<25>::S5<26>::S6::S7<‐1>]; + : link:#S0-0a2-S5-02-S6-S7[S0<25>::S5<26>::S6::S7<‐1>] ---- === Base Classes @@ -405,7 +405,7 @@ Declared in `<class‐template‐specializations‐1.cp [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct R2 - : link:#S0-0cf[S0<1, void*>]; + : link:#S0-0cf[S0<1, void*>] ---- === Base Classes @@ -445,7 +445,7 @@ Declared in `<class‐template‐specializations‐1.cp [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct R20 - : link:#S0-09e2-S5-0c-S6-S7-0b[S0<27>::S5<28>::S6::S7<29, void*>]; + : link:#S0-09e2-S5-0c-S6-S7-0b[S0<27>::S5<28>::S6::S7<29, void*>] ---- === Base Classes @@ -468,7 +468,7 @@ Declared in `<class‐template‐specializations‐1.cp [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct R21 - : link:#S0-09e2-S5-0c-S6-S7-0d[S0<27>::S5<28>::S6::S7<29, int*>]; + : link:#S0-09e2-S5-0c-S6-S7-0d[S0<27>::S5<28>::S6::S7<29, int*>] ---- === Base Classes @@ -491,7 +491,7 @@ Declared in `<class‐template‐specializations‐1.cp [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct R22 - : link:#S0-01-S5-04-S6-S7-05[S0<30>::S5<31>::S6::S7<32>]; + : link:#S0-01-S5-04-S6-S7-05[S0<30>::S5<31>::S6::S7<32>] ---- === Base Classes @@ -514,7 +514,7 @@ Declared in `<class‐template‐specializations‐1.cp [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct R23 - : link:#S0-09ee-S5-02-S6-S7-03-S8[S0<33>::S5<34>::S6::S7<35>::S8]; + : link:#S0-09ee-S5-02-S6-S7-03-S8[S0<33>::S5<34>::S6::S7<35>::S8] ---- === Base Classes @@ -537,7 +537,7 @@ Declared in `<class‐template‐specializations‐1.cp [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct R24 - : link:#S0-033-S5-0f-S6-S7-0d-S9[S0<36>::S5<37>::S6::S7<38>::S9<‐1>]; + : link:#S0-033-S5-0f-S6-S7-0d-S9[S0<36>::S5<37>::S6::S7<38>::S9<‐1>] ---- === Base Classes @@ -560,7 +560,7 @@ Declared in `<class‐template‐specializations‐1.cp [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct R25 - : link:#S0-06-S5-07-S6-S7-0a-S9-05[S0<39>::S5<40>::S6::S7<41>::S9<42, void*>]; + : link:#S0-06-S5-07-S6-S7-0a-S9-05[S0<39>::S5<40>::S6::S7<41>::S9<42, void*>] ---- === Base Classes @@ -583,7 +583,7 @@ Declared in `<class‐template‐specializations‐1.cp [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct R26 - : link:#S0-06-S5-07-S6-S7-0a-S9-08[S0<39>::S5<40>::S6::S7<41>::S9<42, int*>]; + : link:#S0-06-S5-07-S6-S7-0a-S9-08[S0<39>::S5<40>::S6::S7<41>::S9<42, int*>] ---- === Base Classes @@ -606,7 +606,7 @@ Declared in `<class‐template‐specializations‐1.cp [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct R27 - : link:#S0-0ba-S5-08-S6-S7-02-S9-0f[S0<43>::S5<44>::S6::S7<45>::S9<46>]; + : link:#S0-0ba-S5-08-S6-S7-02-S9-0f[S0<43>::S5<44>::S6::S7<45>::S9<46>] ---- === Base Classes @@ -629,7 +629,7 @@ Declared in `<class‐template‐specializations‐1.cp [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct R28 - : link:#S0-0cf[S0<0, bool>]; + : link:#S0-0cf[S0<0, bool>] ---- === Base Classes @@ -669,7 +669,7 @@ Declared in `<class‐template‐specializations‐1.cp [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct R29 - : link:#S0-0cf[S0<1, int>]; + : link:#S0-0cf[S0<1, int>] ---- === Base Classes @@ -709,7 +709,7 @@ Declared in `<class‐template‐specializations‐1.cp [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct R3 - : link:#S0-020a[S0<1, int*>]; + : link:#S0-020a[S0<1, int*>] ---- === Base Classes @@ -732,7 +732,7 @@ Declared in `<class‐template‐specializations‐1.cp [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct R30 - : link:#S0-03c[S0<2, bool>::S1]; + : link:#S0-03c[S0<2, bool>::S1] ---- === Base Classes @@ -802,7 +802,7 @@ template< int I, typename T> struct R31 - : link:#S0-092-S1[S0<3, bool>::S1::S2<I, T>]; + : link:#S0-092-S1[S0<3, bool>::S1::S2<I, T>] ---- === Base Classes @@ -825,7 +825,7 @@ Declared in `<class‐template‐specializations‐1.cp [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct R32 - : link:#S0-0b6-S1[S0<4, bool>::S1::S2<5, bool>]; + : link:#S0-0b6-S1[S0<4, bool>::S1::S2<5, bool>] ---- === Base Classes @@ -848,7 +848,7 @@ Declared in `<class‐template‐specializations‐1.cp [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct R33 - : link:#S0-023-S1[S0<6, bool>::S1::S2<7, int>]; + : link:#S0-023-S1[S0<6, bool>::S1::S2<7, int>] ---- === Base Classes @@ -871,7 +871,7 @@ Declared in `<class‐template‐specializations‐1.cp [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct R34 - : link:#S0-04-S1-S2-0a[S0<8, bool>::S1::S2<9, bool>::S3]; + : link:#S0-04-S1-S2-0a[S0<8, bool>::S1::S2<9, bool>::S3] ---- === Base Classes @@ -918,7 +918,7 @@ template< int I, typename T> struct R35 - : link:#S0-05a-S1-S2-0b[S0<10, bool>::S1::S2<11, bool>::S4<I, T>]; + : link:#S0-05a-S1-S2-0b[S0<10, bool>::S1::S2<11, bool>::S4<I, T>] ---- === Base Classes @@ -941,7 +941,7 @@ Declared in `<class‐template‐specializations‐1.cp [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct R36 - : link:#S0-0cd-S1-S2-05[S0<12, bool>::S1::S2<13, bool>::S4<14, bool>]; + : link:#S0-0cd-S1-S2-05[S0<12, bool>::S1::S2<13, bool>::S4<14, bool>] ---- === Base Classes @@ -964,7 +964,7 @@ Declared in `<class‐template‐specializations‐1.cp [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct R37 - : link:#S0-000-S1-S2-03[S0<15, bool>::S1::S2<16, bool>::S4<17, int>]; + : link:#S0-000-S1-S2-03[S0<15, bool>::S1::S2<16, bool>::S4<17, int>] ---- === Base Classes @@ -990,7 +990,7 @@ template< int I, typename T> struct R38 - : link:#S0-051[S0<18, bool>::S5<I, T>]; + : link:#S0-051[S0<18, bool>::S5<I, T>] ---- === Base Classes @@ -1013,7 +1013,7 @@ Declared in `<class‐template‐specializations‐1.cp [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct R39 - : link:#S0-002[S0<19, bool>::S5<20, bool>]; + : link:#S0-002[S0<19, bool>::S5<20, bool>] ---- === Base Classes @@ -1036,7 +1036,7 @@ Declared in `<class‐template‐specializations‐1.cp [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct R4 - : link:#S0-09c-S1[S0<2>::S1]; + : link:#S0-09c-S1[S0<2>::S1] ---- === Base Classes @@ -1059,7 +1059,7 @@ Declared in `<class‐template‐specializations‐1.cp [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct R40 - : link:#S0-003[S0<21, bool>::S5<22, int>]; + : link:#S0-003[S0<21, bool>::S5<22, int>] ---- === Base Classes @@ -1082,7 +1082,7 @@ Declared in `<class‐template‐specializations‐1.cp [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct R41 - : link:#S0-0c7-S5-0f[S0<23, bool>::S5<24, bool>::S6]; + : link:#S0-0c7-S5-0f[S0<23, bool>::S5<24, bool>::S6] ---- === Base Classes @@ -1152,7 +1152,7 @@ template< int I, typename T> struct R42 - : link:#S0-0529f-S5-05c-S6[S0<25, bool>::S5<26, bool>::S6::S7<I, T>]; + : link:#S0-0529f-S5-05c-S6[S0<25, bool>::S5<26, bool>::S6::S7<I, T>] ---- === Base Classes @@ -1175,7 +1175,7 @@ Declared in `<class‐template‐specializations‐1.cp [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct R43 - : link:#S0-007-S5-0d-S6[S0<27, bool>::S5<28, bool>::S6::S7<29, int>]; + : link:#S0-007-S5-0d-S6[S0<27, bool>::S5<28, bool>::S6::S7<29, int>] ---- === Base Classes @@ -1198,7 +1198,7 @@ Declared in `<class‐template‐specializations‐1.cp [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct R44 - : link:#S0-021-S5-0b-S6[S0<30, bool>::S5<31, bool>::S6::S7<32, bool>]; + : link:#S0-021-S5-0b-S6[S0<30, bool>::S5<31, bool>::S6::S7<32, bool>] ---- === Base Classes @@ -1221,7 +1221,7 @@ Declared in `<class‐template‐specializations‐1.cp [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct R45 - : link:#S0-0318-S5-0b-S6-S7-05[S0<33, bool>::S5<34, bool>::S6::S7<35, bool>::S8]; + : link:#S0-0318-S5-0b-S6-S7-05[S0<33, bool>::S5<34, bool>::S6::S7<35, bool>::S8] ---- === Base Classes @@ -1268,7 +1268,7 @@ template< int I, typename T> struct R46 - : link:#S0-0d-S5-0b-S6-S7-0d[S0<36, bool>::S5<37, bool>::S6::S7<38, bool>::S9<I, T>]; + : link:#S0-0d-S5-0b-S6-S7-0d[S0<36, bool>::S5<37, bool>::S6::S7<38, bool>::S9<I, T>] ---- === Base Classes @@ -1291,7 +1291,7 @@ Declared in `<class‐template‐specializations‐1.cp [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct R47 - : link:#S0-0206-S5-08-S6-S7-01[S0<39, bool>::S5<40, bool>::S6::S7<41, bool>::S9<42, int>]; + : link:#S0-0206-S5-08-S6-S7-01[S0<39, bool>::S5<40, bool>::S6::S7<41, bool>::S9<42, int>] ---- === Base Classes @@ -1314,7 +1314,7 @@ Declared in `<class‐template‐specializations‐1.cp [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct R48 - : link:#S0-05291-S5-0e-S6-S7-0f[S0<43, bool>::S5<44, bool>::S6::S7<45, bool>::S9<46, bool>]; + : link:#S0-05291-S5-0e-S6-S7-0f[S0<43, bool>::S5<44, bool>::S6::S7<45, bool>::S9<46, bool>] ---- === Base Classes @@ -1337,7 +1337,7 @@ Declared in `<class‐template‐specializations‐1.cp [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct R5 - : link:#S0-073-S1-S2[S0<3>::S1::S2<‐1>]; + : link:#S0-073-S1-S2[S0<3>::S1::S2<‐1>] ---- === Base Classes @@ -1360,7 +1360,7 @@ Declared in `<class‐template‐specializations‐1.cp [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct R6 - : link:#S0-0a1-S1-S2-0f[S0<4>::S1::S2<5>]; + : link:#S0-0a1-S1-S2-0f[S0<4>::S1::S2<5>] ---- === Base Classes @@ -1383,7 +1383,7 @@ Declared in `<class‐template‐specializations‐1.cp [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct R7 - : link:#S0-07e-S1-S2-04[S0<6>::S1::S2<7, void*>]; + : link:#S0-07e-S1-S2-04[S0<6>::S1::S2<7, void*>] ---- === Base Classes @@ -1406,7 +1406,7 @@ Declared in `<class‐template‐specializations‐1.cp [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct R8 - : link:#S0-07e-S1-S2-07[S0<6>::S1::S2<7, int*>]; + : link:#S0-07e-S1-S2-07[S0<6>::S1::S2<7, int*>] ---- === Base Classes @@ -1429,7 +1429,7 @@ Declared in `<class‐template‐specializations‐1.cp [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct R9 - : link:#S0-0a3-S1-S2-0c-S3[S0<8>::S1::S2<9>::S3]; + : link:#S0-0a3-S1-S2-0c-S3[S0<8>::S1::S2<9>::S3] ---- === Base Classes diff --git a/test-files/golden-tests/symbols/record/class-template-specializations-1.html b/test-files/golden-tests/symbols/record/class-template-specializations-1.html index 1f135b903..5f77b7d93 100644 --- a/test-files/golden-tests/symbols/record/class-template-specializations-1.html +++ b/test-files/golden-tests/symbols/record/class-template-specializations-1.html @@ -123,7 +123,7 @@

Synopsis

Declared in <class-template-specializations-1.cpp>
 struct R0
-    : S0<-1>;
+    : S0<-1>
 
 
 
@@ -182,7 +182,7 @@

Synopsis

Declared in <class-template-specializations-1.cpp>
 struct R1
-    : S0<0>;
+    : S0<0>
 
 
 
@@ -214,7 +214,7 @@

Synopsis

Declared in <class-template-specializations-1.cpp>
 struct R10
-    : S0<10>::S1::S2<11>::S4<-1>;
+    : S0<10>::S1::S2<11>::S4<-1>
 
 
 
@@ -246,7 +246,7 @@

Synopsis

Declared in <class-template-specializations-1.cpp>
 struct R11
-    : S0<12>::S1::S2<13>::S4<14>;
+    : S0<12>::S1::S2<13>::S4<14>
 
 
 
@@ -278,7 +278,7 @@

Synopsis

Declared in <class-template-specializations-1.cpp>
 struct R12
-    : S0<15>::S1::S2<16>::S4<17, void*>;
+    : S0<15>::S1::S2<16>::S4<17, void*>
 
 
 
@@ -310,7 +310,7 @@

Synopsis

Declared in <class-template-specializations-1.cpp>
 struct R13
-    : S0<15>::S1::S2<16>::S4<17, int*>;
+    : S0<15>::S1::S2<16>::S4<17, int*>
 
 
 
@@ -342,7 +342,7 @@

Synopsis

Declared in <class-template-specializations-1.cpp>
 struct R14
-    : S0<18>::S5<-1>;
+    : S0<18>::S5<-1>
 
 
 
@@ -374,7 +374,7 @@

Synopsis

Declared in <class-template-specializations-1.cpp>
 struct R15
-    : S0<19>::S5<20>;
+    : S0<19>::S5<20>
 
 
 
@@ -406,7 +406,7 @@

Synopsis

Declared in <class-template-specializations-1.cpp>
 struct R16
-    : S0<21>::S5<22, void*>;
+    : S0<21>::S5<22, void*>
 
 
 
@@ -438,7 +438,7 @@

Synopsis

Declared in <class-template-specializations-1.cpp>
 struct R17
-    : S0<21>::S5<22, int*>;
+    : S0<21>::S5<22, int*>
 
 
 
@@ -470,7 +470,7 @@

Synopsis

Declared in <class-template-specializations-1.cpp>
 struct R18
-    : S0<23>::S5<24>::S6;
+    : S0<23>::S5<24>::S6
 
 
 
@@ -502,7 +502,7 @@

Synopsis

Declared in <class-template-specializations-1.cpp>
 struct R19
-    : S0<25>::S5<26>::S6::S7<-1>;
+    : S0<25>::S5<26>::S6::S7<-1>
 
 
 
@@ -534,7 +534,7 @@

Synopsis

Declared in <class-template-specializations-1.cpp>
 struct R2
-    : S0<1, void*>;
+    : S0<1, void*>
 
 
 
@@ -593,7 +593,7 @@

Synopsis

Declared in <class-template-specializations-1.cpp>
 struct R20
-    : S0<27>::S5<28>::S6::S7<29, void*>;
+    : S0<27>::S5<28>::S6::S7<29, void*>
 
 
 
@@ -625,7 +625,7 @@

Synopsis

Declared in <class-template-specializations-1.cpp>
 struct R21
-    : S0<27>::S5<28>::S6::S7<29, int*>;
+    : S0<27>::S5<28>::S6::S7<29, int*>
 
 
 
@@ -657,7 +657,7 @@

Synopsis

Declared in <class-template-specializations-1.cpp>
 struct R22
-    : S0<30>::S5<31>::S6::S7<32>;
+    : S0<30>::S5<31>::S6::S7<32>
 
 
 
@@ -689,7 +689,7 @@

Synopsis

Declared in <class-template-specializations-1.cpp>
 struct R23
-    : S0<33>::S5<34>::S6::S7<35>::S8;
+    : S0<33>::S5<34>::S6::S7<35>::S8
 
 
 
@@ -721,7 +721,7 @@

Synopsis

Declared in <class-template-specializations-1.cpp>
 struct R24
-    : S0<36>::S5<37>::S6::S7<38>::S9<-1>;
+    : S0<36>::S5<37>::S6::S7<38>::S9<-1>
 
 
 
@@ -753,7 +753,7 @@

Synopsis

Declared in <class-template-specializations-1.cpp>
 struct R25
-    : S0<39>::S5<40>::S6::S7<41>::S9<42, void*>;
+    : S0<39>::S5<40>::S6::S7<41>::S9<42, void*>
 
 
 
@@ -785,7 +785,7 @@

Synopsis

Declared in <class-template-specializations-1.cpp>
 struct R26
-    : S0<39>::S5<40>::S6::S7<41>::S9<42, int*>;
+    : S0<39>::S5<40>::S6::S7<41>::S9<42, int*>
 
 
 
@@ -817,7 +817,7 @@

Synopsis

Declared in <class-template-specializations-1.cpp>
 struct R27
-    : S0<43>::S5<44>::S6::S7<45>::S9<46>;
+    : S0<43>::S5<44>::S6::S7<45>::S9<46>
 
 
 
@@ -849,7 +849,7 @@

Synopsis

Declared in <class-template-specializations-1.cpp>
 struct R28
-    : S0<0, bool>;
+    : S0<0, bool>
 
 
 
@@ -908,7 +908,7 @@

Synopsis

Declared in <class-template-specializations-1.cpp>
 struct R29
-    : S0<1, int>;
+    : S0<1, int>
 
 
 
@@ -967,7 +967,7 @@

Synopsis

Declared in <class-template-specializations-1.cpp>
 struct R3
-    : S0<1, int*>;
+    : S0<1, int*>
 
 
 
@@ -999,7 +999,7 @@

Synopsis

Declared in <class-template-specializations-1.cpp>
 struct R30
-    : S0<2, bool>::S1;
+    : S0<2, bool>::S1
 
 
 
@@ -1096,7 +1096,7 @@

Synopsis

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

Synopsis

Declared in <class-template-specializations-1.cpp>
 struct R32
-    : S0<4, bool>::S1::S2<5, bool>;
+    : S0<4, bool>::S1::S2<5, bool>
 
 
 
@@ -1160,7 +1160,7 @@

Synopsis

Declared in <class-template-specializations-1.cpp>
 struct R33
-    : S0<6, bool>::S1::S2<7, int>;
+    : S0<6, bool>::S1::S2<7, int>
 
 
 
@@ -1192,7 +1192,7 @@

Synopsis

Declared in <class-template-specializations-1.cpp>
 struct R34
-    : S0<8, bool>::S1::S2<9, bool>::S3;
+    : S0<8, bool>::S1::S2<9, bool>::S3
 
 
 
@@ -1256,7 +1256,7 @@

Synopsis

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

Synopsis

Declared in <class-template-specializations-1.cpp>
 struct R36
-    : S0<12, bool>::S1::S2<13, bool>::S4<14, bool>;
+    : S0<12, bool>::S1::S2<13, bool>::S4<14, bool>
 
 
 
@@ -1320,7 +1320,7 @@

Synopsis

Declared in <class-template-specializations-1.cpp>
 struct R37
-    : S0<15, bool>::S1::S2<16, bool>::S4<17, int>;
+    : S0<15, bool>::S1::S2<16, bool>::S4<17, int>
 
 
 
@@ -1355,7 +1355,7 @@

Synopsis

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

Synopsis

Declared in <class-template-specializations-1.cpp>
 struct R39
-    : S0<19, bool>::S5<20, bool>;
+    : S0<19, bool>::S5<20, bool>
 
 
 
@@ -1419,7 +1419,7 @@

Synopsis

Declared in <class-template-specializations-1.cpp>
 struct R4
-    : S0<2>::S1;
+    : S0<2>::S1
 
 
 
@@ -1451,7 +1451,7 @@

Synopsis

Declared in <class-template-specializations-1.cpp>
 struct R40
-    : S0<21, bool>::S5<22, int>;
+    : S0<21, bool>::S5<22, int>
 
 
 
@@ -1483,7 +1483,7 @@

Synopsis

Declared in <class-template-specializations-1.cpp>
 struct R41
-    : S0<23, bool>::S5<24, bool>::S6;
+    : S0<23, bool>::S5<24, bool>::S6
 
 
 
@@ -1580,7 +1580,7 @@

Synopsis

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

Synopsis

Declared in <class-template-specializations-1.cpp>
 struct R43
-    : S0<27, bool>::S5<28, bool>::S6::S7<29, int>;
+    : S0<27, bool>::S5<28, bool>::S6::S7<29, int>
 
 
 
@@ -1644,7 +1644,7 @@

Synopsis

Declared in <class-template-specializations-1.cpp>
 struct R44
-    : S0<30, bool>::S5<31, bool>::S6::S7<32, bool>;
+    : S0<30, bool>::S5<31, bool>::S6::S7<32, bool>
 
 
 
@@ -1676,7 +1676,7 @@

Synopsis

Declared in <class-template-specializations-1.cpp>
 struct R45
-    : S0<33, bool>::S5<34, bool>::S6::S7<35, bool>::S8;
+    : S0<33, bool>::S5<34, bool>::S6::S7<35, bool>::S8
 
 
 
@@ -1740,7 +1740,7 @@

Synopsis

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

Synopsis

Declared in <class-template-specializations-1.cpp>
 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>
 
 
 
@@ -1804,7 +1804,7 @@

Synopsis

Declared in <class-template-specializations-1.cpp>
 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>
 
 
 
@@ -1836,7 +1836,7 @@

Synopsis

Declared in <class-template-specializations-1.cpp>
 struct R5
-    : S0<3>::S1::S2<-1>;
+    : S0<3>::S1::S2<-1>
 
 
 
@@ -1868,7 +1868,7 @@

Synopsis

Declared in <class-template-specializations-1.cpp>
 struct R6
-    : S0<4>::S1::S2<5>;
+    : S0<4>::S1::S2<5>
 
 
 
@@ -1900,7 +1900,7 @@

Synopsis

Declared in <class-template-specializations-1.cpp>
 struct R7
-    : S0<6>::S1::S2<7, void*>;
+    : S0<6>::S1::S2<7, void*>
 
 
 
@@ -1932,7 +1932,7 @@

Synopsis

Declared in <class-template-specializations-1.cpp>
 struct R8
-    : S0<6>::S1::S2<7, int*>;
+    : S0<6>::S1::S2<7, int*>
 
 
 
@@ -1964,7 +1964,7 @@

Synopsis

Declared in <class-template-specializations-1.cpp>
 struct R9
-    : S0<8>::S1::S2<9>::S3;
+    : S0<8>::S1::S2<9>::S3
 
 
 
diff --git a/test-files/golden-tests/symbols/record/final-class.adoc b/test-files/golden-tests/symbols/record/final-class.adoc new file mode 100644 index 000000000..aba13a332 --- /dev/null +++ b/test-files/golden-tests/symbols/record/final-class.adoc @@ -0,0 +1,115 @@ += Reference +:mrdocs: + +[#index] +== Global namespace + +=== Types + +[cols=1] +|=== +| Name +| link:#A1[`A1`] +| link:#A2[`A2`] +| link:#A3[`A3`] +| link:#B1[`B1`] +| link:#B2[`B2`] +|=== + +[#A1] +== A1 + +=== Synopsis + +Declared in `<final‐class.cpp>` + +[source,cpp,subs="verbatim,replacements,macros,-callouts"] +---- +class A1 final +---- + +[#A2] +== A2 + +=== Synopsis + +Declared in `<final‐class.cpp>` + +[source,cpp,subs="verbatim,replacements,macros,-callouts"] +---- +template<typename T> +class A2 final +---- + +[#A3] +== A3 + +=== Synopsis + +Declared in `<final‐class.cpp>` + +[source,cpp,subs="verbatim,replacements,macros,-callouts"] +---- +class A3 final + : public link:#B1[B1] + , public link:#B2[B2] +---- + +=== Base Classes + +[cols=2] +|=== +| Name +| Description +| `link:#B1[B1]` +| +| `link:#B2[B2]` +| +|=== + +[#B1] +== B1 + +=== Synopsis + +Declared in `<final‐class.cpp>` + +[source,cpp,subs="verbatim,replacements,macros,-callouts"] +---- +class B1; +---- + +=== Derived Classes + +[cols=2] +|=== +| Name +| Description +| link:#A3[`A3`] +| +|=== + +[#B2] +== B2 + +=== Synopsis + +Declared in `<final‐class.cpp>` + +[source,cpp,subs="verbatim,replacements,macros,-callouts"] +---- +class B2; +---- + +=== Derived Classes + +[cols=2] +|=== +| Name +| Description +| link:#A3[`A3`] +| +|=== + + +[.small]#Created with https://www.mrdocs.com[MrDocs]# diff --git a/test-files/golden-tests/symbols/record/final-class.cpp b/test-files/golden-tests/symbols/record/final-class.cpp new file mode 100644 index 000000000..1e6b35980 --- /dev/null +++ b/test-files/golden-tests/symbols/record/final-class.cpp @@ -0,0 +1,20 @@ +class B1 +{ +}; + +class B2 +{ +}; + +class A1 final +{ +}; + +template< typename T > +class A2 final +{ +}; + +class A3 final : public B1, public B2 +{ +}; diff --git a/test-files/golden-tests/symbols/record/final-class.html b/test-files/golden-tests/symbols/record/final-class.html new file mode 100644 index 000000000..1b94de154 --- /dev/null +++ b/test-files/golden-tests/symbols/record/final-class.html @@ -0,0 +1,169 @@ + + +Reference + + +
+

Reference

+
+
+

+
+

Types

+ + + + + + + + + + + + + + +
Name
A1
A2
A3
B1
B2
+ +
+
+
+

A1

+
+
+

Synopsis

+
+Declared in <final-class.cpp>
+
+class A1 final
+
+
+
+
+ + +
+
+
+

A2

+
+
+

Synopsis

+
+Declared in <final-class.cpp>
+
+template<typename T>
+class A2 final
+
+
+
+
+ + +
+
+
+

A3

+
+
+

Synopsis

+
+Declared in <final-class.cpp>
+
+class A3 final
+    : public B1
+    , public B2
+
+
+
+
+
+

Base Classes

+ + + + + + + + + + + +
NameDescription
B1
B2
+
+ + +
+
+
+

B1

+
+
+

Synopsis

+
+Declared in <final-class.cpp>
+
+class B1;
+
+
+
+
+ + +
+

Derived Classes

+ + + + + + + + + + +
NameDescription
A3 +
+
+
+
+
+

B2

+
+
+

Synopsis

+
+Declared in <final-class.cpp>
+
+class B2;
+
+
+
+
+ + +
+

Derived Classes

+ + + + + + + + + + +
NameDescription
A3 +
+
+
+ +
+
+

Created with MrDocs

+
+ + \ No newline at end of file diff --git a/test-files/golden-tests/symbols/record/final-class.xml b/test-files/golden-tests/symbols/record/final-class.xml new file mode 100644 index 000000000..18e6bf9a3 --- /dev/null +++ b/test-files/golden-tests/symbols/record/final-class.xml @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test-files/golden-tests/symbols/record/local-class.adoc b/test-files/golden-tests/symbols/record/local-class.adoc index 11b88060e..808d70222 100644 --- a/test-files/golden-tests/symbols/record/local-class.adoc +++ b/test-files/golden-tests/symbols/record/local-class.adoc @@ -30,7 +30,7 @@ Declared in `<local‐class.cpp>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct B - : decltype(f()); + : decltype(f()) ---- === Base Classes diff --git a/test-files/golden-tests/symbols/record/local-class.html b/test-files/golden-tests/symbols/record/local-class.html index cc62580b9..e6a2a3f0e 100644 --- a/test-files/golden-tests/symbols/record/local-class.html +++ b/test-files/golden-tests/symbols/record/local-class.html @@ -46,7 +46,7 @@

Synopsis

Declared in <local-class.cpp>
 struct B
-    : decltype(f());
+    : decltype(f())
 
 
 
diff --git a/test-files/golden-tests/symbols/record/record-inheritance.adoc b/test-files/golden-tests/symbols/record/record-inheritance.adoc index ded06c352..60b84dd22 100644 --- a/test-files/golden-tests/symbols/record/record-inheritance.adoc +++ b/test-files/golden-tests/symbols/record/record-inheritance.adoc @@ -59,7 +59,7 @@ Declared in `<record‐inheritance.cpp>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class C1 - : link:#C0[C0]; + : link:#C0[C0] ---- [#C2] @@ -72,7 +72,7 @@ Declared in `<record‐inheritance.cpp>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class C2 - : public link:#C0[C0]; + : public link:#C0[C0] ---- === Base Classes @@ -95,7 +95,7 @@ Declared in `<record‐inheritance.cpp>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class C3 - : protected link:#C0[C0]; + : protected link:#C0[C0] ---- [#C4] @@ -108,7 +108,7 @@ Declared in `<record‐inheritance.cpp>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class C4 - : link:#C0[C0]; + : link:#C0[C0] ---- [#C5] @@ -121,7 +121,7 @@ Declared in `<record‐inheritance.cpp>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class C5 - : virtual link:#C0[C0]; + : virtual link:#C0[C0] ---- === Derived Classes @@ -144,7 +144,7 @@ Declared in `<record‐inheritance.cpp>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class C6 - : virtual link:#C1[C1]; + : virtual link:#C1[C1] ---- === Derived Classes @@ -168,7 +168,7 @@ Declared in `<record‐inheritance.cpp>` ---- class C7 : public link:#C5[C5] - , public link:#C6[C6]; + , public link:#C6[C6] ---- === Base Classes @@ -237,7 +237,7 @@ Declared in `<record‐inheritance.cpp>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct S2 - : link:#S0[S0]; + : link:#S0[S0] ---- === Base Classes @@ -270,7 +270,7 @@ Declared in `<record‐inheritance.cpp>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct S3 - : link:#S1[S1]; + : link:#S1[S1] ---- === Base Classes @@ -304,7 +304,7 @@ Declared in `<record‐inheritance.cpp>` ---- struct S4 : link:#S2[S2] - , link:#S3[S3]; + , link:#S3[S3] ---- === Base Classes @@ -330,7 +330,7 @@ Declared in `<record‐inheritance.cpp>` ---- struct S5 : private link:#S0[S0] - , protected link:#S1[S1]; + , protected link:#S1[S1] ---- [#S6] @@ -344,7 +344,7 @@ Declared in `<record‐inheritance.cpp>` ---- template<typename... Ts> struct S6 - : Ts...; + : Ts... ---- === Base Classes diff --git a/test-files/golden-tests/symbols/record/record-inheritance.html b/test-files/golden-tests/symbols/record/record-inheritance.html index 3697cc7b6..83cdd1842 100644 --- a/test-files/golden-tests/symbols/record/record-inheritance.html +++ b/test-files/golden-tests/symbols/record/record-inheritance.html @@ -80,7 +80,7 @@

Synopsis

Declared in <record-inheritance.cpp>
 class C1
-    : C0;
+    : C0
 
 
 
@@ -98,7 +98,7 @@

Synopsis

Declared in <record-inheritance.cpp>
 class C2
-    : public C0;
+    : public C0
 
 
 
@@ -130,7 +130,7 @@

Synopsis

Declared in <record-inheritance.cpp>
 class C3
-    : protected C0;
+    : protected C0
 
 
 
@@ -148,7 +148,7 @@

Synopsis

Declared in <record-inheritance.cpp>
 class C4
-    : C0;
+    : C0
 
 
 
@@ -166,7 +166,7 @@

Synopsis

Declared in <record-inheritance.cpp>
 class C5
-    : virtual C0;
+    : virtual C0
 
 
 
@@ -199,7 +199,7 @@

Synopsis

Declared in <record-inheritance.cpp>
 class C6
-    : virtual C1;
+    : virtual C1
 
 
 
@@ -233,7 +233,7 @@

Synopsis

 class C7
     : public C5
-    , public C6;
+    , public C6
 
 
 
@@ -330,7 +330,7 @@

Synopsis

Declared in <record-inheritance.cpp>
 struct S2
-    : S0;
+    : S0
 
 
 
@@ -377,7 +377,7 @@

Synopsis

Declared in <record-inheritance.cpp>
 struct S3
-    : S1;
+    : S1
 
 
 
@@ -425,7 +425,7 @@

Synopsis

 struct S4
     : S2
-    , S3;
+    , S3
 
 
 
@@ -459,7 +459,7 @@

Synopsis

 struct S5
     : private S0
-    , protected S1;
+    , protected S1
 
 
 
@@ -478,7 +478,7 @@

Synopsis

 template<typename... Ts>
 struct S6
-    : Ts...;
+    : Ts...
 
 
 
diff --git a/test-files/golden-tests/symbols/record/template-specialization-inheritance.adoc b/test-files/golden-tests/symbols/record/template-specialization-inheritance.adoc index 46c29c1c5..53f090262 100644 --- a/test-files/golden-tests/symbols/record/template-specialization-inheritance.adoc +++ b/test-files/golden-tests/symbols/record/template-specialization-inheritance.adoc @@ -68,7 +68,7 @@ Declared in `<template‐specialization‐inheritance.cpp> [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct R0 - : link:#S0-0c[S0<1>]; + : link:#S0-0c[S0<1>] ---- === Base Classes @@ -99,7 +99,7 @@ Declared in `<template‐specialization‐inheritance.cpp> [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct R1 - : link:#S0-09[S0<2>::S1]; + : link:#S0-09[S0<2>::S1] ---- === Base Classes @@ -122,7 +122,7 @@ Declared in `<template‐specialization‐inheritance.cpp> [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct R2 - : link:#S0-073[S0<3>]; + : link:#S0-073[S0<3>] ---- === Base Classes diff --git a/test-files/golden-tests/symbols/record/template-specialization-inheritance.html b/test-files/golden-tests/symbols/record/template-specialization-inheritance.html index e30926aee..493a40229 100644 --- a/test-files/golden-tests/symbols/record/template-specialization-inheritance.html +++ b/test-files/golden-tests/symbols/record/template-specialization-inheritance.html @@ -88,7 +88,7 @@

Synopsis

Declared in <template-specialization-inheritance.cpp>
 struct R0
-    : S0<1>;
+    : S0<1>
 
 
 
@@ -133,7 +133,7 @@

Synopsis

Declared in <template-specialization-inheritance.cpp>
 struct R1
-    : S0<2>::S1;
+    : S0<2>::S1
 
 
 
@@ -165,7 +165,7 @@

Synopsis

Declared in <template-specialization-inheritance.cpp>
 struct R2
-    : S0<3>;
+    : S0<3>
 
 
 
diff --git a/test-files/golden-tests/symbols/typedef/dependency-propagation.adoc b/test-files/golden-tests/symbols/typedef/dependency-propagation.adoc index b6601aff1..85fc9d033 100644 --- a/test-files/golden-tests/symbols/typedef/dependency-propagation.adoc +++ b/test-files/golden-tests/symbols/typedef/dependency-propagation.adoc @@ -95,7 +95,7 @@ Declared in `<dependency‐propagation.cpp>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct E - : link:#N-C[N::C<int>]; + : link:#N-C[N::C<int>] ---- === Base Classes diff --git a/test-files/golden-tests/symbols/typedef/dependency-propagation.html b/test-files/golden-tests/symbols/typedef/dependency-propagation.html index ea3205445..6c0a23da1 100644 --- a/test-files/golden-tests/symbols/typedef/dependency-propagation.html +++ b/test-files/golden-tests/symbols/typedef/dependency-propagation.html @@ -134,7 +134,7 @@

Synopsis

Declared in <dependency-propagation.cpp>
 struct E
-    : N::C<int>;
+    : N::C<int>
 
 
 
diff --git a/test-files/golden-tests/symbols/using/using-member-function.adoc b/test-files/golden-tests/symbols/using/using-member-function.adoc index 716f31477..83c5d60fe 100644 --- a/test-files/golden-tests/symbols/using/using-member-function.adoc +++ b/test-files/golden-tests/symbols/using/using-member-function.adoc @@ -111,7 +111,7 @@ Declared in `<using‐member‐function.cpp>` ---- struct C : link:#A[A] - , link:#B[B]; + , link:#B[B] ---- === Base Classes diff --git a/test-files/golden-tests/symbols/using/using-member-function.html b/test-files/golden-tests/symbols/using/using-member-function.html index afd78a7d7..901e41ef0 100644 --- a/test-files/golden-tests/symbols/using/using-member-function.html +++ b/test-files/golden-tests/symbols/using/using-member-function.html @@ -158,7 +158,7 @@

Synopsis

 struct C
     : A
-    , B;
+    , B