From e3f4ba4f0c7439bce64e7808340c14272a3626a0 Mon Sep 17 00:00:00 2001 From: Steven Wu Date: Mon, 8 Sep 2025 17:18:24 -0700 Subject: [PATCH 1/2] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20in?= =?UTF-8?q?itial=20version?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Created using spr 1.3.6 --- llvm/include/llvm/Support/FileSystem.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/llvm/include/llvm/Support/FileSystem.h b/llvm/include/llvm/Support/FileSystem.h index a21b0a272d2b0..88299cab7d7ee 100644 --- a/llvm/include/llvm/Support/FileSystem.h +++ b/llvm/include/llvm/Support/FileSystem.h @@ -640,12 +640,12 @@ LLVM_ABI std::error_code is_other(const Twine &path, bool &result); LLVM_ABI std::error_code status(const Twine &path, file_status &result, bool follow = true); -/// A version for when a file descriptor is already available. -LLVM_ABI std::error_code status(int FD, file_status &Result); +/// A version for when a file handle is already available. +LLVM_ABI std::error_code status(file_t FD, file_status &Result); #ifdef _WIN32 /// A version for when a file descriptor is already available. -LLVM_ABI std::error_code status(file_t FD, file_status &Result); +LLVM_ABI std::error_code status(int FD, file_status &Result); #endif /// Get file creation mode mask of the process. From e7fe05f4e89ba99153f92ad57e614f8d3be47a35 Mon Sep 17 00:00:00 2001 From: Steven Wu Date: Mon, 8 Sep 2025 17:26:17 -0700 Subject: [PATCH 2/2] rename parameter Created using spr 1.3.6 --- llvm/include/llvm/Support/FileSystem.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/include/llvm/Support/FileSystem.h b/llvm/include/llvm/Support/FileSystem.h index 88299cab7d7ee..7922400af259e 100644 --- a/llvm/include/llvm/Support/FileSystem.h +++ b/llvm/include/llvm/Support/FileSystem.h @@ -641,7 +641,7 @@ LLVM_ABI std::error_code status(const Twine &path, file_status &result, bool follow = true); /// A version for when a file handle is already available. -LLVM_ABI std::error_code status(file_t FD, file_status &Result); +LLVM_ABI std::error_code status(file_t F, file_status &Result); #ifdef _WIN32 /// A version for when a file descriptor is already available.