aboutsummaryrefslogtreecommitdiff
path: root/src/link/MachO
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2021-04-26 21:34:40 -0700
committerAndrew Kelley <andrew@ziglang.org>2021-04-28 16:57:01 -0700
commitfa6bb4b662155e4d6a61cc551b5d02a2a7d5d144 (patch)
tree23fb0d451b9aefa61c21cb7f1ffb40ec83dd57ef /src/link/MachO
parent2354cbafdb01d2a763b82cf03a72adef0794f187 (diff)
downloadzig-fa6bb4b662155e4d6a61cc551b5d02a2a7d5d144.tar.gz
zig-fa6bb4b662155e4d6a61cc551b5d02a2a7d5d144.zip
Sema: do not analyze test decls when not in test mode
We do this by reserving string table indexes 0 and 1 in ZIR to be special. Decls now have 0 to mean comptime or usingnamespace, and 1 to mean an unnamed test decl.
Diffstat (limited to 'src/link/MachO')
0 files changed, 0 insertions, 0 deletions