1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 12:41:49 +01:00

Move sys::fs::AccessMode out of @brief in the function. [-Wdocumentation]

FIXME: Annotate sys::fs::AccessMode.
llvm-svn: 217685
This commit is contained in:
NAKAMURA Takumi 2014-09-12 15:12:32 +00:00
parent d81a9afcb0
commit 96d94f40f5

View File

@ -352,12 +352,13 @@ std::error_code resize_file(const Twine &path, uint64_t size);
/// not.
bool exists(file_status status);
enum class AccessMode { Exist, Write, Execute };
/// @brief Can the file be accessed?
///
/// @param Path Input path.
/// @returns errc::success if the path can be accessed, otherwise a
/// platform-specific error_code.
enum class AccessMode { Exist, Write, Execute };
std::error_code access(const Twine &Path, AccessMode Mode);
/// @brief Does file exist?