OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b59cfd
)
Move sys::fs::AccessMode out of @brief in the function. [-Wdocumentation]
author
NAKAMURA Takumi
<geek4civic@gmail.com>
Fri, 12 Sep 2014 15:12:32 +0000
(15:12 +0000)
committer
NAKAMURA Takumi
<geek4civic@gmail.com>
Fri, 12 Sep 2014 15:12:32 +0000
(15:12 +0000)
FIXME: Annotate sys::fs::AccessMode.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217685
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Support/FileSystem.h
patch
|
blob
|
history
diff --git
a/include/llvm/Support/FileSystem.h
b/include/llvm/Support/FileSystem.h
index
5fd6213
..
f406285
100644
(file)
--- a/
include/llvm/Support/FileSystem.h
+++ b/
include/llvm/Support/FileSystem.h
@@
-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?