[libc-commits] [libc] 2745f72 - [libc][NFC] fix typo (#86540)

via libc-commits libc-commits at lists.llvm.org
Mon Mar 25 10:33:02 PDT 2024


Author: Alan Zhao
Date: 2024-03-25T10:32:59-07:00
New Revision: 2745f72a81aa73517cf43e8e4ddc4c91a1739a6a

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

LOG: [libc][NFC] fix typo (#86540)

Added: 
    

Modified: 
    libc/src/__support/File/file.h

Removed: 
    


################################################################################
diff  --git a/libc/src/__support/File/file.h b/libc/src/__support/File/file.h
index 2ea3843749ffe4..eafd3ab7d9107b 100644
--- a/libc/src/__support/File/file.h
+++ b/libc/src/__support/File/file.h
@@ -76,7 +76,7 @@ class File {
 private:
   enum class FileOp : uint8_t { NONE, READ, WRITE, SEEK };
 
-  // Platfrom specific functions which create new file objects should initialize
+  // Platform specific functions which create new file objects should initialize
   // these fields suitably via the constructor. Typically, they should be simple
   // syscall wrappers for the corresponding functionality.
   WriteFunc *platform_write;
@@ -299,7 +299,7 @@ class File {
   }
 };
 
-// The implementaiton of this function is provided by the platfrom_file
+// The implementaiton of this function is provided by the platform_file
 // library.
 ErrorOr<File *> openfile(const char *path, const char *mode);
 


        


More information about the libc-commits mailing list