diff options
| author | 2026-03-23 09:14:39 +0100 | |
|---|---|---|
| committer | 2026-03-23 09:14:39 +0100 | |
| commit | 75c4a35e1884e64b6141df64a7df6293d38445b5 (patch) | |
| tree | ea24a9ef610e7b30351d06c3e6e2fe6d0c8e5b43 /src/c.c | |
| parent | 7c5dd45eca377a3b675b6f0d4a9331bc3f971ac9 (diff) | |
c: remove inline 'backing' type tag for enums
It was meant as a micro-optimization but actually keeping it in sync was
annoying. This for example was broken:
```
extern enum foo { ... } g_foo;
enum foo g_foo;
```
Diffstat (limited to 'src/c.c')
| -rw-r--r-- | src/c.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -2198,7 +2198,6 @@ buildenum(CComp *cm, internstr name, const Span *span, int id) ty = completetype(name, id, &td); else ty = mktagtype(name, &td); - ty.backing = td.backing; return ty; } |