================
@@ -4284,6 +4284,8 @@ bool SemaHLSL::transformInitList(const InitializedEntity
&Entity,
}
size_t ExpectedSize = ILT.DestTypes.size();
size_t ActualSize = ILT.ArgExprs.size();
+ if (ExpectedSize == 0 && ActualSize == 0)
+ return true;
----------------
damyanp wrote:
nit: a blank line here to break things up a bit might be nice.
```suggestion
return true;
```
https://github.com/llvm/llvm-project/pull/160355
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits