[llvm-commits] CVS: llvm/include/llvm/System/Path.h
Chris Lattner
lattner at cs.uiuc.edu
Fri Jul 28 15:36:34 PDT 2006
Changes in directory llvm/include/llvm/System:
Path.h updated: 1.33 -> 1.34
---
Log message:
Modify setStatusInfoOnDisk to not throw an exception.
---
Diffs of the changes: (+3 -2)
Path.h | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
Index: llvm/include/llvm/System/Path.h
diff -u llvm/include/llvm/System/Path.h:1.33 llvm/include/llvm/System/Path.h:1.34
--- llvm/include/llvm/System/Path.h:1.33 Fri Jul 28 17:29:50 2006
+++ llvm/include/llvm/System/Path.h Fri Jul 28 17:36:17 2006
@@ -461,9 +461,10 @@
/// 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
More information about the llvm-commits
mailing list