[llvm] Fix typo in LLVM Kaleidoscope tutorial (Chapter 2) (PR #169319)
Shota Matsubara via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 24 03:51:34 PST 2025
https://github.com/baramatsubonzo updated https://github.com/llvm/llvm-project/pull/169319
>From 1f1672c14a5ed979c76b3e65e681d46e534f4a57 Mon Sep 17 00:00:00 2001
From: Shota Matsubara <baramatsubonzo at gmail.com>
Date: Mon, 24 Nov 2025 20:47:24 +0900
Subject: [PATCH] Fix typo in LLVM Kaleidoscope tutorial (Chapter 2)
---
llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl02.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl02.rst b/llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl02.rst
index 6aec05f29329a..ee12d983dd99e 100644
--- a/llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl02.rst
+++ b/llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl02.rst
@@ -453,7 +453,7 @@ starts with:
return LHS;
This code gets the precedence of the current token and checks to see if
-if is too low. Because we defined invalid tokens to have a precedence of
+it is too low. Because we defined invalid tokens to have a precedence of
-1, this check implicitly knows that the pair-stream ends when the token
stream runs out of binary operators. If this check succeeds, we know
that the token is a binary operator and that it will be included in this
More information about the llvm-commits
mailing list