Table of Contents

Method Return

Namespace
Ubiquity.NET.Llvm.Instructions
Assembly
Ubiquity.NET.Llvm.dll

Return()

Creates a return instruction for a function that has no return value

[SuppressMessage("Style", "IDE0046:Convert to conditional expression", Justification = "Devolves to an incomprehensible set of nested conditional expressions - NOT simpler")]
public ReturnInstruction Return()

Returns

ReturnInstruction

ReturnInstruction

Exceptions

ArgumentException

the function has a non-void return type

Return(Value)

Creates a return instruction with the return value for a function

public ReturnInstruction Return(Value value)

Parameters

value Value

Value to return

Returns

ReturnInstruction

ReturnInstruction