Skip to content
← Back

src/semantic/capability.ghul

1
namespace Semantic is
2
// A language feature a target's back end can lack. One member per
3
// feature some target does not support, added as the checks for them
4
// land.
5
enum Capability is
6
// An `IL.` pragma: it names a fact about a .NET assembly, and a
7
// target other than .NET produces no assembly for it to name.
8
IL_PRAGMA,
9
10
// A pointer type written in a type expression.
11
POINTER,
12
13
// A `ref` type written in a type expression, or a `ref` argument.
14
REFERENCE,
15
// A namespace named `llvm` at the root, whose qualified names LLVM
16
// reserves for its intrinsics.
17
LLVM_NAMESPACE
18
si
19
si