aboutsummaryrefslogtreecommitdiff
path: root/src/codegen/spirv/Module.zig
diff options
context:
space:
mode:
authorJacob Young <jacobly0@users.noreply.github.com>2024-03-16 16:46:45 +0100
committerJacob Young <jacobly0@users.noreply.github.com>2024-03-17 03:06:17 +0100
commitd10c52c194a093f58df40bc6122f24380f0cc097 (patch)
tree98909ac98dabdf19d082ce94dddf11a54cc11926 /src/codegen/spirv/Module.zig
parentf88a971e4ff211b78695609b4482fb886f30a1af (diff)
downloadzig-d10c52c194a093f58df40bc6122f24380f0cc097.tar.gz
zig-d10c52c194a093f58df40bc6122f24380f0cc097.zip
AstGen: disallow alignment on function types
A pointer type already has an alignment, so this information does not need to be duplicated on the function type. This already has precedence with addrspace which is already disallowed on function types for this reason. Also fixes `@TypeOf(&func)` to have the correct addrspace and alignment.
Diffstat (limited to 'src/codegen/spirv/Module.zig')
0 files changed, 0 insertions, 0 deletions