[clang] [clang][NFC]: Fix typo in comment in `ASTReader.h` (PR #202022)

via cfe-commits cfe-commits at lists.llvm.org
Sat Jun 6 02:41:36 PDT 2026


https://github.com/StepfenShawn created https://github.com/llvm/llvm-project/pull/202022

Similiar -> Similar

>From af3a0e70ff557cb876e85728a618197f664f82c3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=F0=9F=8D=8CShawn?= <m18824909883 at 163.com>
Date: Sat, 6 Jun 2026 17:40:13 +0800
Subject: [PATCH] Fix typo in comment in ASTReader.h

---
 clang/include/clang/Serialization/ASTReader.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/clang/include/clang/Serialization/ASTReader.h b/clang/include/clang/Serialization/ASTReader.h
index 03b8fa74a81fe..61bd3d0748988 100644
--- a/clang/include/clang/Serialization/ASTReader.h
+++ b/clang/include/clang/Serialization/ASTReader.h
@@ -246,7 +246,7 @@ class ASTReaderListener {
     return true;
   }
 
-  /// Similiar to member function of \c visitInputFile but should
+  /// Similar to member function of \c visitInputFile but should
   /// be defined when there is a distinction between the file name
   /// and the name-as-requested. For example, when deserializing input
   /// files from precompiled AST files.



More information about the cfe-commits mailing list