Table of Contents

Method GetAttributeAtIndex

Namespace
Ubiquity.NET.Llvm.Values
Assembly
Ubiquity.NET.Llvm.dll

GetAttributeAtIndex(FunctionAttributeIndex, uint)

Gets a specific attribute at a given index

public AttributeValue GetAttributeAtIndex(FunctionAttributeIndex index, uint id)

Parameters

index FunctionAttributeIndex

Index to get the attribute from

id uint

ID of the attribute to get

Returns

AttributeValue

The specified attribute or the default AttributeValue

GetAttributeAtIndex(FunctionAttributeIndex, LazyEncodedString)

Gets a named attribute at a given index

public AttributeValue GetAttributeAtIndex(FunctionAttributeIndex index, LazyEncodedString name)

Parameters

index FunctionAttributeIndex

Index to get the attribute from

name LazyEncodedString

name of the attribute to get

Returns

AttributeValue

The specified attribute or the default AttributeValue