Click or drag to resize
Llvm.NET LogoAttributeSetContainerAddAttributeT Method (T, FunctionAttributeIndex, AttributeKind)

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

Namespace:  Llvm.NET.Values
Assembly:  Llvm.NET (in Llvm.NET.dll) Version: 3.8.6158
Syntax
C#
public static T AddAttribute<T>(
	this T self,
	FunctionAttributeIndex index,
	AttributeKind value
)
where T : IAttributeSetContainer

Parameters

self
Type: T
index
Type: Llvm.NETFunctionAttributeIndex
value
Type: Llvm.NETAttributeKind

Type Parameters

T

Return Value

Type: T

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type . When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also