File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -769,6 +769,8 @@ struct ExtraInhabitantsValueWitnessTable : ValueWitnessTable {
769
769
value_witness_types::storeExtraInhabitant *storeExtraInhabitant;
770
770
value_witness_types::getExtraInhabitantIndex *getExtraInhabitantIndex;
771
771
772
+ #define SET_WITNESS (NAME ) base.NAME,
773
+
772
774
constexpr ExtraInhabitantsValueWitnessTable ()
773
775
: ValueWitnessTable{}, extraInhabitantFlags(),
774
776
storeExtraInhabitant (nullptr ),
@@ -778,9 +780,15 @@ struct ExtraInhabitantsValueWitnessTable : ValueWitnessTable {
778
780
value_witness_types::extraInhabitantFlags eif,
779
781
value_witness_types::storeExtraInhabitant *sei,
780
782
value_witness_types::getExtraInhabitantIndex *geii)
781
- : ValueWitnessTable(base), extraInhabitantFlags(eif),
783
+ : ValueWitnessTable{
784
+ FOR_ALL_FUNCTION_VALUE_WITNESSES (SET_WITNESS)
785
+ base.size ,
786
+ base.flags ,
787
+ base.stride
788
+ }, extraInhabitantFlags(eif),
782
789
storeExtraInhabitant (sei),
783
790
getExtraInhabitantIndex (geii) {}
791
+ #undef SET_WITNESS
784
792
785
793
static bool classof (const ValueWitnessTable *table) {
786
794
return table->flags .hasExtraInhabitants ();
You can’t perform that action at this time.
0 commit comments