[clang] 5d9e1db - [clang][NFC] Fix typo in comments (#239952)

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


Author: Hardik Kumar
Date: 2026-11-07T11:47:05Z
New Revision: 5d9e1db2bdd758776e1ce1ea88a394ae65710961

URL: https://github.com/llvm/llvm-project/commit/5d9e1db2bdd758776e1ce1ea88a394ae65710961
DIFF: https://github.com/llvm/llvm-project/commit/5d9e1db2bdd758776e1ce1ea88a394ae65710961.diff

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

"seperate" -> "separate"

Signed-off-by: Hardik Kumar <hardikxk at gmail.com>

Added: 
    

Modified: 
    clang/lib/Lex/ModuleMap.cpp

Removed: 
    


################################################################################
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.


        


More information about the cfe-commits mailing list