diff options
| author | gingerBill <bill@gingerbill.org> | 2024-07-01 12:13:35 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2024-07-01 12:13:35 +0100 |
| commit | 544959326b467b6587a04d6211ea142de932109c (patch) | |
| tree | f00aa354b20732a8ab90d745a043e66ed6362bf3 /src/types.cpp | |
| parent | 942f3f52207e32f68a9342ba2693f3b37199937b (diff) | |
Add `intrinsics.type_struct_has_implicit_padding` #3844
Diffstat (limited to 'src/types.cpp')
| -rw-r--r-- | src/types.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/types.cpp b/src/types.cpp index 323c06580..c3a5fb539 100644 --- a/src/types.cpp +++ b/src/types.cpp @@ -2366,6 +2366,7 @@ gb_internal bool type_has_nil(Type *t) { return false; } + gb_internal bool elem_type_can_be_constant(Type *t) { t = base_type(t); if (t == t_invalid) { |