diff options
author | Chris Lattner <sabre@nondot.org> | 2006-07-28 22:36:17 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-07-28 22:36:17 +0000 |
commit | 1bebfb5ae4c240064beffe3232402ea68b110510 (patch) | |
tree | 0d59f9af15c52cd83501cdba2433146f3a378d8e /include/llvm | |
parent | 7dea1019c1dcf2f9198397ca290784db092b75af (diff) | |
download | external_llvm-1bebfb5ae4c240064beffe3232402ea68b110510.zip external_llvm-1bebfb5ae4c240064beffe3232402ea68b110510.tar.gz external_llvm-1bebfb5ae4c240064beffe3232402ea68b110510.tar.bz2 |
Modify setStatusInfoOnDisk to not throw an exception.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29402 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r-- | include/llvm/System/Path.h | 5 |
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 |