aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/System
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/System')
-rw-r--r--include/llvm/System/Path.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/llvm/System/Path.h b/include/llvm/System/Path.h
index 57cbc6c..3731a9c 100644
--- a/include/llvm/System/Path.h
+++ b/include/llvm/System/Path.h
@@ -391,6 +391,22 @@ namespace sys {
StatusInfo info; getStatusInfo(info); return info.fileSize;
}
+ /// This method attempts to make the file referenced by the Path object
+ /// available for reading so that the readable() method will return true.
+ /// @brief Make the file readable;
+ void makeReadable();
+
+ /// This method attempts to make the file referenced by the Path object
+ /// available for writing so that the writable() method will return true.
+ /// @brief Make the file writable;
+ void makeWriteable();
+
+ /// This method attempts to make the file referenced by the Path object
+ /// available for execution so that the executable() method will return
+ /// true.
+ /// @brief Make the file readable;
+ void makeExecutable();
+
/// This method attempts to set the Path object to \p unverified_path
/// and interpret the name as a directory name. The \p unverified_path
/// is verified. If verification succeeds then \p unverified_path