Merge pull request #6913 from tf2spi/6831-add-constant-type-checks

Add more constant type cases
This commit is contained in:
gingerBill
2026-06-30 11:29:26 +01:00
committed by GitHub

View File

@@ -1471,6 +1471,10 @@ gb_internal bool is_type_constant_type(Type *t) {
return is_type_constant_type(t->Array.elem);
case Type_EnumeratedArray:
return is_type_constant_type(t->EnumeratedArray.elem);
case Type_SimdVector:
return is_type_constant_type(t->SimdVector.elem);
case Type_Matrix:
return is_type_constant_type(t->Matrix.elem);
}
return false;
}