From: Xing GUO Date: Fri, 18 Jan 2019 03:56:37 +0000 (+0000) Subject: [DOCS] it it => it X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2235e6b1cc4bab9e016f3c965edb9d4b9d8a2d2b;p=llvm [DOCS] it it => it Summary: it it => it for LLVM Language Reference Manual Reviewers: aaron.ballman, Higuoxing, liangdzou Reviewed By: aaron.ballman, Higuoxing, liangdzou Subscribers: Higuoxing, llvm-commits Differential Revision: https://reviews.llvm.org/D56533 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@351517 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/docs/LangRef.rst b/docs/LangRef.rst index b28f2e6f8f6..1110f8127d9 100644 --- a/docs/LangRef.rst +++ b/docs/LangRef.rst @@ -6431,7 +6431,7 @@ The '``ret``' instruction optionally accepts a single argument, the 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