aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/System
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/System')
-rw-r--r--include/llvm/System/Path.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/llvm/System/Path.h b/include/llvm/System/Path.h
index 14602d7..c2fb2b9 100644
--- a/include/llvm/System/Path.h
+++ b/include/llvm/System/Path.h
@@ -461,9 +461,10 @@ namespace sys {
/// This method allows the last modified time stamp and permission bits
/// to be set on the disk object referenced by the Path.
/// @throws std::string if an error occurs.
- /// @returns true
+ /// @returns true on error.
/// @brief Set the status information.
- bool setStatusInfoOnDisk(const FileStatus &SI) const;
+ bool setStatusInfoOnDisk(const FileStatus &SI,
+ std::string *ErrStr = 0) const;
/// This method attempts to create a directory in the file system with the
/// same name as the Path object. The \p create_parents parameter controls