[llvm] [docs] Small spelling fix ("if <...>`than` -> if <...> `then`") (PR #77215)

Mircea Trofin via llvm-commits llvm-commits at lists.llvm.org
Sat Jan 6 15:33:03 PST 2024


https://github.com/mtrofin created https://github.com/llvm/llvm-project/pull/77215

None

>From 639a8d7c712bc50c018c4b8cee22f126342dfcf9 Mon Sep 17 00:00:00 2001
From: Mircea Trofin <mtrofin at google.com>
Date: Sat, 6 Jan 2024 15:31:20 -0800
Subject: [PATCH] [docs] Small spelling fix ("if <...>`than` -> if <...>
 `then`")

---
 llvm/docs/LangRef.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst
index b5918e3063d868..15abeb1c984c4f 100644
--- a/llvm/docs/LangRef.rst
+++ b/llvm/docs/LangRef.rst
@@ -12250,7 +12250,7 @@ This instruction requires several arguments:
    #. Arguments with the :ref:`inalloca <attr_inalloca>` or
       :ref:`preallocated <attr_preallocated>` attribute are forwarded in place.
    #. If the musttail call appears in a function with the ``"thunk"`` attribute
-      and the caller and callee both have varargs, than any unprototyped
+      and the caller and callee both have varargs, then any unprototyped
       arguments in register or memory are forwarded to the callee. Similarly,
       the return value of the callee is returned to the caller's caller, even
       if a void return type is in use.



More information about the llvm-commits mailing list