Context

Undocumented in source.

Constructors

this
this()
Undocumented in source.
this
this(LLVMContextRef lx)

Wrap an existing context and thus providing deterministic resource handling.

Destructor

~this
~this()
Undocumented in source.

Postblit

this(this)
this(this)
Undocumented in source.

Alias This

lx

Members

Functions

makeModule
ModuleFromMemoryBufferResult makeModule(MemoryBuffer buffer)

Make a Module from the specified MemoryBuffer.

makeModule
Module makeModule(string id)

Create a new, empty module in a specific context.

metadataString
MetadataStringValue metadataString(string name)

Obtain a MDString value.

resolveNamedMetadata
ResolvedNamedMetadataValue resolveNamedMetadata(NamedMetadataValue nmd)

Resolve the referenced nodes a NamedMetadata consist of.

Static functions

make
auto make()

Make an empty LLVM context.

Variables

diagnostic
DiagnosticSet diagnostic;

Collected diagnostic messages during usage.

lx
LLVMContextRef lx;
Undocumented in source.

Meta