[clang] [clang][NFC] Fix typo in comments (PR #239952)

via cfe-commits cfe-commits at lists.llvm.org
Sat Nov 7 03:09:21 PST 2026


llvmorg-github-actions[bot] wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-clang

Author: Hardik Kumar (hardikxk)

<details>
<summary>Changes</summary>

"seperate" -> "separate"

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


1 Files Affected:

- (modified) clang/lib/Lex/ModuleMap.cpp (+1-1) 


``````````diff
diff --git a/clang/lib/Lex/ModuleMap.cpp b/clang/lib/Lex/ModuleMap.cpp
index 5766d872d73c4..e68193f556ebc 100644
--- a/clang/lib/Lex/ModuleMap.cpp
+++ b/clang/lib/Lex/ModuleMap.cpp
@@ -508,7 +508,7 @@ void ModuleMap::diagnoseHeaderInclusion(Module *RequestingModule,
     // Suppose we have a pair of files foo.cpp / foo.h.
     // Our build system may want to verify that foo.cpp only uses things
     // declared in the implementation_deps of foo, while foo.h only uses things
-    // declared in interface_deps. This requires them to be two seperate
+    // declared in interface_deps. This requires them to be two separate
     // modules, foo_Private and foo. This check is required to ensure that foo.h
     // is still checked. Otherwise, foo.h would never be checked, since it will
     // never be the top-level module.

``````````

</details>


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


More information about the cfe-commits mailing list