[libc-commits] [libc] [libc][NFC] fix typo (PR #86540)
via libc-commits
libc-commits at lists.llvm.org
Mon Mar 25 10:31:13 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-libc
Author: Alan Zhao (alanzhao1)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/86540.diff
1 Files Affected:
- (modified) libc/src/__support/File/file.h (+2-2)
``````````diff
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);
``````````
</details>
https://github.com/llvm/llvm-project/pull/86540
More information about the libc-commits
mailing list