diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-09-12 13:05:08 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-09-12 13:05:08 -0400 |
| commit | 56a4d13975f443fc9e81f0acbb1a896122aa5857 (patch) | |
| tree | 09ea8a4d14ff7e3d849f9ed3cb3b76b81094fff9 /types.h | |
| parent | 43f4f3610e5258afbfb9e313c989e1e52f477c38 (diff) | |
Automatic promotion to single-argument enum tags with a unique type
Diffstat (limited to 'types.h')
| -rw-r--r-- | types.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -143,6 +143,7 @@ PUREFUNC bool has_heap_memory(type_t *t); PUREFUNC bool has_stack_memory(type_t *t); PUREFUNC bool can_send_over_channel(type_t *t); PUREFUNC bool can_promote(type_t *actual, type_t *needed); +PUREFUNC const char *enum_single_value_tag(type_t *enum_type, type_t *t); PUREFUNC bool is_int_type(type_t *t); PUREFUNC bool is_numeric_type(type_t *t); PUREFUNC bool supports_optionals(type_t *t); |
