Table of Contents

Property ElementType

Namespace
Ubiquity.NET.Llvm.Types
Assembly
Ubiquity.NET.Llvm.dll

ElementType

Gets the element type of this pointer (if available)

ITypeRef? ElementType { get; init; }

Property Value

ITypeRef

Remarks

LLVM dropped type specific pointers in favor of Opaque pointers. Unfortunately that means that IR generators need to track the type of elements and that this property may be null if not known. In practice, this is true when the pointer was retrieved directly from the lower level LLVM APIs and no Debugging type wrapper exists with the type. This, at least, will provide it if it is available.