Changes in directory llvm/include/llvm/System:
Path.h updated: 1.32 -> 1.33 --- Log message: Modify Path::eraseFromDisk to not throw an exception. --- Diffs of the changes: (+4 -6) Path.h | 10 ++++------ 1 files changed, 4 insertions(+), 6 deletions(-) Index: llvm/include/llvm/System/Path.h diff -u llvm/include/llvm/System/Path.h:1.32 llvm/include/llvm/System/Path.h:1.33 --- llvm/include/llvm/System/Path.h:1.32 Fri Jul 28 17:03:44 2006 +++ llvm/include/llvm/System/Path.h Fri Jul 28 17:29:50 2006 @@ -522,17 +522,15 @@ /// \p destroy_contents parameter is ignored. /// @param destroy_contents Indicates whether the contents of a destroyed /// directory should also be destroyed (recursively). - /// @returns true if the file/directory was destroyed, false if the path - /// refers to something that is neither a file nor a directory. - /// @throws std::string if there is an error. + /// @returns false if the file/directory was destroyed, true on error. /// @brief Removes the file or directory from the filesystem. - bool eraseFromDisk(bool destroy_contents = false) const; - + bool eraseFromDisk(bool destroy_contents = false, + std::string *Err = 0) const; /// @} /// @name Data /// @{ private: - mutable std::string path; ///< Storage for the path name. + mutable std::string path; ///< Storage for the path name. /// @} }; _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits