Context

Disabled Default Constructor

A disabled default is present on this object. To use it, use one of the other constructors or a factory function.

Constructors

this
this(LLVMContextRef lx)

Wrap an existing context and thus providing deterministic resource handling.

Destructor

A destructor is present on this object, but not explicitly documented in the source.

Postblit

Copying this object is disabled.

A postblit is present on this object, but not explicitly documented in the source.

Alias This

lx

Members

Functions

makeModule
ModuleFromMemoryBufferResult makeModule(ref 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(ref 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.

Meta