diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2022-05-29 18:12:38 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2022-05-30 12:03:53 -0700 |
| commit | 7e98b047ddc51062a32cbf2fb852d38e5023886c (patch) | |
| tree | 17e115e890f3e24dd710eb6621a097d28610a490 /src/codegen/c.zig | |
| parent | 9da3a058d82573efeaf12fe61ab6a312649175ec (diff) | |
| download | zig-7e98b047ddc51062a32cbf2fb852d38e5023886c.tar.gz zig-7e98b047ddc51062a32cbf2fb852d38e5023886c.zip | |
AstGen: simplify function return type expressions
This check for primitives is already handled by the generic logic that
checks if the body ends up being empty. I kept this commit in the git
history in case we ever want that nodePrimitive function again in the
future, it might be useful.
Diffstat (limited to 'src/codegen/c.zig')
0 files changed, 0 insertions, 0 deletions
