Table of Contents

Enum FunctionAttributeIndex

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

Function index for attributes

public enum FunctionAttributeIndex

Fields

Function = -1

The attribute applies to the function itself

Parameter0 = 1

The attribute applies to the first parameter of the function

Additional parameters are identified by simply adding an integer value to this value. (i.e. Parameter1 == FunctionAttributeIndex.Parameter0 + 1 )

ReturnType = 0

The attribute applies to the return type of the function

Remarks

Attributes on functions apply to the function itself, the return type or one of the function's parameters. This enumeration is used to identify where the attribute applies.