summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-06-18 21:10:03 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-06-18 21:10:03 +0000
commit1fbf3a3aca2b7d16a7869ea6c6f39c7ffd28b6d2 (patch)
tree7985e842343a60a4ea485594d59cff32ca4a2b6f /include
parent68ba1825fcaf94bdf7e057ef19585226ec48ce5d (diff)
downloadllvm-1fbf3a3aca2b7d16a7869ea6c6f39c7ffd28b6d2.tar.gz
llvm-1fbf3a3aca2b7d16a7869ea6c6f39c7ffd28b6d2.tar.bz2
llvm-1fbf3a3aca2b7d16a7869ea6c6f39c7ffd28b6d2.tar.xz
Remove Path::canWrite.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184235 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Support/PathV1.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/llvm/Support/PathV1.h b/include/llvm/Support/PathV1.h
index 146703c870..550da31946 100644
--- a/include/llvm/Support/PathV1.h
+++ b/include/llvm/Support/PathV1.h
@@ -267,15 +267,6 @@ namespace sys {
LLVM_ATTRIBUTE_DEPRECATED(bool isSymLink() const,
LLVM_PATH_DEPRECATED_MSG(fs::is_symlink));
- /// This function determines if the path name references a writable file
- /// or directory in the file system. This function checks for the
- /// existence and writability (by the current program) of the file or
- /// directory.
- /// @returns true if the pathname references a writable file.
- /// @brief Determines if the path is a writable file or directory
- /// in the file system.
- bool canWrite() const;
-
/// This function checks that what we're trying to work only on a regular
/// file. Check for things like /dev/null, any block special file, or
/// other things that aren't "regular" regular files.