[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:42:12 PDT 2026


llvmorg-github-actions[bot] wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-clang

Author: 🍌Shawn (StepfenShawn)

<details>
<summary>Changes</summary>

Similiar -> Similar

---
Full diff: https://github.com/llvm/llvm-project/pull/202022.diff


1 Files Affected:

- (modified) clang/include/clang/Serialization/ASTReader.h (+1-1) 


``````````diff
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.

``````````

</details>


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


More information about the cfe-commits mailing list