aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/System
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2006-08-23 20:34:57 +0000
committerReid Spencer <rspencer@reidspencer.com>2006-08-23 20:34:57 +0000
commit51c5a286bae5ad27ddc49602f44b7ea7253a4cc9 (patch)
tree23e5816bdf4e8ea6f02a6d639101c9132ac3ea54 /include/llvm/System
parentcc2e0845c30cbbf79b51c6c39c102af27c19a1a8 (diff)
downloadexternal_llvm-51c5a286bae5ad27ddc49602f44b7ea7253a4cc9.zip
external_llvm-51c5a286bae5ad27ddc49602f44b7ea7253a4cc9.tar.gz
external_llvm-51c5a286bae5ad27ddc49602f44b7ea7253a4cc9.tar.bz2
For PR797:
Final removal of exceptions from lib/System and adjustment of users to accommodate. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29846 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/System')
-rw-r--r--include/llvm/System/Path.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/System/Path.h b/include/llvm/System/Path.h
index 55eb3e6..77a5cc5 100644
--- a/include/llvm/System/Path.h
+++ b/include/llvm/System/Path.h
@@ -414,7 +414,7 @@ namespace sys {
/// already unique.
/// @throws std::string if an unrecoverable error occurs.
/// @brief Make the current path name unique in the file system.
- void makeUnique( bool reuse_current = true );
+ bool makeUnique( bool reuse_current /*= true*/, std::string* ErrMsg );
/// @}
/// @name Disk Mutators
@@ -529,9 +529,9 @@ namespace sys {
/// This function can be used to copy the file specified by Src to the
/// file specified by Dest. If an error occurs, Dest is removed.
- /// @throws std::string if an error opening or writing the files occurs.
+ /// @returns true if an error occurs, false otherwise
/// @brief Copy one file to another.
- void CopyFile(const Path& Dest, const Path& Src);
+ bool CopyFile(const Path& Dest, const Path& Src, std::string* ErrMsg);
}
std::ostream& operator<<(std::ostream& strm, const sys::Path& aPath);