[clang] d1e8df8 - [clang] Fix a typo "mdoule" in comments. NFC.

Volodymyr Sapsai via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 6 17:19:47 PDT 2023


Author: Volodymyr Sapsai
Date: 2023-07-06T17:19:26-07:00
New Revision: d1e8df85e6d1f9f823f2de5e0eb88d9a08d1763f

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

LOG: [clang] Fix a typo "mdoule" in comments. NFC.

Added: 
    

Modified: 
    clang/include/clang/Serialization/ModuleFile.h
    clang/test/CodeGenCXX/modules-vtable.cppm

Removed: 
    


################################################################################
diff  --git a/clang/include/clang/Serialization/ModuleFile.h b/clang/include/clang/Serialization/ModuleFile.h
index 45fb75df8a4352..e96f3ce06c2ceb 100644
--- a/clang/include/clang/Serialization/ModuleFile.h
+++ b/clang/include/clang/Serialization/ModuleFile.h
@@ -164,7 +164,7 @@ class ModuleFile {
   /// Whether this precompiled header is a relocatable PCH file.
   bool RelocatablePCH = false;
 
-  /// Whether this mdoule file is a standard c++ module.
+  /// Whether this module file is a standard C++ module.
   bool StandardCXXModule = false;
 
   /// Whether timestamps are included in this module file.

diff  --git a/clang/test/CodeGenCXX/modules-vtable.cppm b/clang/test/CodeGenCXX/modules-vtable.cppm
index 5d13225697b4da..fb179b1de4880b 100644
--- a/clang/test/CodeGenCXX/modules-vtable.cppm
+++ b/clang/test/CodeGenCXX/modules-vtable.cppm
@@ -68,7 +68,7 @@ int use() {
 
 // Check the case that the declaration of the key function comes from another
 // module unit but the definition of the key function comes from the current
-// mdoule unit.
+// module unit.
 
 //--- M-A.cppm
 export module M:A;


        


More information about the cfe-commits mailing list