zig/src-self-hosted/scope.zig
Andrew Kelley 6fece14cfb self-hosted: build against zig_llvm and embedded LLD
Now the self-hosted compiler re-uses the same C++ code for interfacing
with LLVM as the C++ code.
It also links against the same LLD library files.
2017-12-26 19:44:08 -05:00

17 lines
241 B
Zig

pub const Scope = struct {
id: Id,
parent: &Scope,
pub const Id = enum {
Decls,
Block,
Defer,
DeferExpr,
VarDecl,
CImport,
Loop,
FnDef,
CompTime,
};
};