@@ -82,6 +82,10 @@ struct BridgedResultInfo {
8282  swift::TypeBase * _Nonnull type;
8383  BridgedResultConvention convention;
8484
85+   //  Ensure that this struct value type will be indirectly returned on
86+   //  Windows ARM64
87+   BridgedResultInfo () {}
88+ 
8589#ifdef  USED_IN_CPP_SOURCE
8690  inline  static  BridgedResultConvention
8791  castToResultConvention (swift::ResultConvention convention) {
@@ -99,6 +103,10 @@ struct OptionalBridgedResultInfo {
99103  swift::TypeBase * _Nullable type = nullptr ;
100104  BridgedResultConvention convention = BridgedResultConvention::Indirect;
101105
106+   //  Ensure that this struct value type will be indirectly returned on
107+   //  Windows ARM64
108+   OptionalBridgedResultInfo () {}
109+ 
102110#ifdef  USED_IN_CPP_SOURCE
103111  OptionalBridgedResultInfo (std::optional<swift::SILResultInfo> resultInfo) {
104112    if  (resultInfo) {
@@ -113,6 +121,10 @@ struct OptionalBridgedResultInfo {
113121struct  BridgedResultInfoArray  {
114122  BridgedArrayRef resultInfoArray;
115123
124+   //  Ensure that this struct value type will be indirectly returned on
125+   //  Windows ARM64
126+   BridgedResultInfoArray () {}
127+ 
116128#ifdef  USED_IN_CPP_SOURCE
117129  BridgedResultInfoArray (llvm::ArrayRef<swift::SILResultInfo> results)
118130    : resultInfoArray(results) {}
@@ -195,6 +207,10 @@ struct BridgedParameterInfo {
195207struct  BridgedParameterInfoArray  {
196208  BridgedArrayRef parameterInfoArray;
197209
210+   //  Ensure that this struct value type will be indirectly returned on
211+   //  Windows ARM64
212+   BridgedParameterInfoArray () {}
213+ 
198214#ifdef  USED_IN_CPP_SOURCE
199215  BridgedParameterInfoArray (llvm::ArrayRef<swift::SILParameterInfo> parameters)
200216    : parameterInfoArray(parameters) {}
@@ -213,6 +229,10 @@ struct BridgedParameterInfoArray {
213229struct  BridgedYieldInfoArray  {
214230  BridgedArrayRef yieldInfoArray;
215231
232+   //  Ensure that this struct value type will be indirectly returned on
233+   //  Windows ARM64
234+   BridgedYieldInfoArray () {}
235+ 
216236#ifdef  USED_IN_CPP_SOURCE
217237  BridgedYieldInfoArray (llvm::ArrayRef<swift::SILYieldInfo> yields)
218238    : yieldInfoArray(yields) {}
@@ -303,6 +323,10 @@ struct BridgedType {
303323  struct  EnumElementIterator  {
304324    uint64_t  storage[4 ];
305325
326+     //  Ensure that this struct value type will be indirectly returned on
327+     //  Windows ARM64
328+     EnumElementIterator () {}
329+ 
306330#ifdef  USED_IN_CPP_SOURCE
307331    EnumElementIterator (swift::EnumDecl::ElementRange::iterator i) {
308332      static_assert (sizeof (EnumElementIterator) >= sizeof (swift::EnumDecl::ElementRange::iterator));
@@ -316,6 +340,10 @@ struct BridgedType {
316340    SWIFT_IMPORT_UNSAFE BRIDGED_INLINE EnumElementIterator getNext () const ;
317341  };
318342
343+   //  Ensure that this struct value type will be indirectly returned on
344+   //  Windows ARM64
345+   BridgedType () {}
346+ 
319347#ifdef  USED_IN_CPP_SOURCE
320348  BridgedType (swift::SILType t) : opaqueValue(t.getOpaqueValue()) {}
321349
@@ -698,6 +726,10 @@ struct BridgedTypeArray {
698726struct  BridgedSILTypeArray  {
699727  BridgedArrayRef typeArray;
700728
729+   //  Ensure that this struct value type will be indirectly returned on
730+   //  Windows ARM64
731+   BridgedSILTypeArray () {}
732+ 
701733#ifdef  USED_IN_CPP_SOURCE
702734  BridgedSILTypeArray (llvm::ArrayRef<swift::SILType> silTypes)
703735      : typeArray(silTypes) {}
@@ -716,6 +748,10 @@ struct BridgedSILTypeArray {
716748struct  BridgedLocation  {
717749  uint64_t  storage[3 ];
718750
751+   //  Ensure that this struct value type will be indirectly returned on
752+   //  Windows ARM64
753+   BridgedLocation () {}
754+ 
719755#ifdef  USED_IN_CPP_SOURCE
720756  BridgedLocation (const  swift::SILDebugLocation &loc) {
721757    *reinterpret_cast <swift::SILDebugLocation *>(&storage) = loc;
@@ -742,6 +778,10 @@ struct BridgedGenericSpecializationInformation {
742778struct  OptionalBridgedSILDebugVariable  {
743779  uint64_t  storage[16 ];
744780
781+   //  Ensure that this struct value type will be indirectly returned on
782+   //  Windows ARM64
783+   OptionalBridgedSILDebugVariable () {}
784+ 
745785#ifdef  USED_IN_CPP_SOURCE
746786  using  OptionalSILDebugVariable = std::optional<swift::SILDebugVariable>;
747787
0 commit comments