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

Hardik Kumar via cfe-commits cfe-commits at lists.llvm.org
Sat Nov 7 03:08:49 PST 2026


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

"seperate" -> "separate"

>From 372d89683ab17370f2f8a3c0fc33bacc882cd663 Mon Sep 17 00:00:00 2001
From: Hardik Kumar <hardikxk at gmail.com>
Date: Sat, 7 Nov 2026 16:37:27 +0530
Subject: [PATCH] [clang][NFC] Fix typo in comments

"seperate" -> "separate"

Signed-off-by: Hardik Kumar <hardikxk at gmail.com>
---
 clang/lib/Lex/ModuleMap.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/clang/lib/Lex/ModuleMap.cpp b/clang/lib/Lex/ModuleMap.cpp
index 5766d872d73c4e..e68193f556ebcb 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