Click or drag to resize
Llvm.NET LogoAttributeBuilderToAttributeSet Method (FunctionAttributeIndex, Context)

[This is preliminary documentation and is subject to change.]

Converts the contents of this builder to an immutable AttributeSet

Namespace:  Llvm.NET.Values
Assembly:  Llvm.NET (in Llvm.NET.dll) Version: 3.8.6158
Syntax
C#
public AttributeSet ToAttributeSet(
	FunctionAttributeIndex index,
	Context context
)

Parameters

index
Type: Llvm.NETFunctionAttributeIndex
Index for the attributes in the new AttributeSet
context
Type: Llvm.NETContext
Context to use when building the resulting AttributeSet

Return Value

Type: AttributeSet
New AttributeSet containing the attributes from this builder in the specified index
See Also