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

[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
)

Parameters

index
Type: Llvm.NETFunctionAttributeIndex
Index for the attributes in the new AttributeSet

Return Value

Type: AttributeSet
New AttributeSet containing the attributes from this builder in the specified index
Remarks
This overload uses CurrentContext to build the AttributeSet
See Also