Joshua Batista 6fdccdbe91
[Sema][HLSL] Reject empty initializer lists for LHS containing an incomplete array. (#176075)
This PR rejects empty initializer lists when the LHS is or contains an
incomplete array type.
Without this early validation, an assumption would be made that there
was an argument in the initializer list.
This would cause an assertion failure.

Fixes https://github.com/llvm/llvm-project/issues/173076
2026-01-20 10:11:15 -08:00
..