Index: llvm/trunk/docs/LangRef.rst =================================================================== --- llvm/trunk/docs/LangRef.rst +++ llvm/trunk/docs/LangRef.rst @@ -6431,7 +6431,7 @@ return value. The type of the return value must be a ':ref:`first class `' type. -A function is not :ref:`well formed ` if it it has a non-void +A function is not :ref:`well formed ` if it has a non-void return type and contains a '``ret``' instruction with no return value or a return value with a type that does not match its type, or if it has a void return type and contains a '``ret``' instruction with a return