diff options
Diffstat (limited to 'include/llvm')
-rw-r--r-- | include/llvm/Support/FileSystem.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/Support/FileSystem.h b/include/llvm/Support/FileSystem.h index 8b63015ef5..5ed151d648 100644 --- a/include/llvm/Support/FileSystem.h +++ b/include/llvm/Support/FileSystem.h @@ -529,6 +529,9 @@ error_code is_symlink(const Twine &path, bool &result); /// platform specific error_code. error_code status(const Twine &path, file_status &result); +/// @brief A version for when a file descriptor is already available. +error_code status(int FD, file_status &Result); + /// @brief Get file size. /// /// @param Path Input path. |