aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/System
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-12-11 00:14:15 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-12-11 00:14:15 +0000
commit1fce09125cb46c91407668ca29915c450a482811 (patch)
tree9a221a439d7dc3ec57b8fa6cf345b90b6198d883 /include/llvm/System
parent357cf5439a5e0ad49245dc75798b6490d67834fd (diff)
downloadexternal_llvm-1fce09125cb46c91407668ca29915c450a482811.zip
external_llvm-1fce09125cb46c91407668ca29915c450a482811.tar.gz
external_llvm-1fce09125cb46c91407668ca29915c450a482811.tar.bz2
Path::get -> Path::toString
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18785 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 f9ee040..90b6136 100644
--- a/include/llvm/System/Path.h
+++ b/include/llvm/System/Path.h
@@ -322,7 +322,7 @@ namespace sys {
/// by other software.
/// @returns std::string containing the path name.
/// @brief Returns the path as a std::string.
- std::string get() const { return path; }
+ std::string toString() const { return path; }
/// This function returns the last component of the path name. If the
/// isDirectory() function would return true then this returns the name
@@ -466,7 +466,7 @@ namespace sys {
/// @brief Create the directory this Path refers to.
bool createDirectory( bool create_parents = false );
- /// This method attempts to create a file in the file system with the same
+ /// This method attempts to create a file in the file system with the same
/// name as the Path object. The intermediate directories must all exist
/// at the time this method is called. Use createDirectories to
/// accomplish that. The created file will be empty upon return from this
@@ -500,7 +500,7 @@ namespace sys {
/// @brief Removes the file or directory from the filesystem.
bool destroyDirectory( bool destroy_contents = false );
- /// This method attempts to destroy the file named by the last item in the
+ /// This method attempts to destroy the file named by the last item in the
/// Path name.
/// @returns false if the Path does not refer to a file, true otherwise.
/// @throws std::string if there is an error.